Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009922/0.0009922, allocations: 77.88 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 169.4 kB / 24.82 MB, free: 9.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.413e-05, allocations: 6.312 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002538/0.002573, allocations: 1.532 MB / 274.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000883/0.003456, allocations: 482.6 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.003542, allocations: 3.938 kB / 275.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.003575, allocations: 3.984 kB / 275.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.003761, allocations: 15.88 kB / 275.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.003937, allocations: 35.83 kB / 275.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.729e-05/0.004034, allocations: 47.86 kB / 275.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.004132, allocations: 11.97 kB / 275.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.601e-05/0.004218, allocations: 31.92 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.767e-05/0.004255, allocations: 23.91 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.004279, allocations: 8 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.004289, allocations: 4 kB / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.004308, allocations: 7.984 kB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.004333, allocations: 19.92 kB / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.004436, allocations: 35.83 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.004439, allocations: 0 / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.004441, allocations: 3.938 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.004446, allocations: 0 / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003964/0.004842, allocations: 396.5 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.004884, allocations: 12.03 kB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.004913, allocations: 12.89 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.005054, allocations: 120.6 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.005074, allocations: 8.375 kB / 276.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-06/0.005082, allocations: 384 / 276.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.005282, allocations: 134.1 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.005288, allocations: 192 / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.005296, allocations: 4.375 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.005301, allocations: 3.938 kB / 276.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.549e-05/0.005327, allocations: 11.98 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.652e-05/0.005413, allocations: 105.2 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.934e-05/0.005503, allocations: 47.11 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.005524, allocations: 19.67 kB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.005544, allocations: 7.938 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.005566, allocations: 37.39 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.005567, allocations: 0 / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000127/0.005694, allocations: 69.64 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.005734, allocations: 55.41 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.767e-05/0.005812, allocations: 173.8 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.005824, allocations: 29.7 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.005862, allocations: 130.9 kB / 277 MB, free: 13.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/0.005872, allocations: 3.984 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.005895, allocations: 19.38 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.006009, allocations: 496.1 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/0.006017, allocations: 7.938 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-06/0.006022, allocations: 0 / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.345e-05/0.006046, allocations: 23.66 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.006048, allocations: 0 / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.751e-05/0.006095, allocations: 41.59 kB / 277.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.006107, allocations: 8 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.006111, allocations: 0 / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.128e-06/0.006121, allocations: 0 / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.845e-05/0.006149, allocations: 0 / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.006156, allocations: 8.094 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.006173, allocations: 7.875 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-06/0.006175, allocations: 0 / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.341e-05/0.006238, allocations: 152.6 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.006288, allocations: 57.69 kB / 277.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.006314, allocations: 12.42 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.006315, allocations: 0 / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.006317, allocations: 0 / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.00632, allocations: 7.938 kB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.403e-05/0.006374, allocations: 101.2 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.006376, allocations: 3.984 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.00641, allocations: 8 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.006411, allocations: 0 / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-06/0.006416, allocations: 0 / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.006416, allocations: 4 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006417, allocations: 0 / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.531e-05/0.006462, allocations: 76.62 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-06/0.00647, allocations: 0 / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.006483, allocations: 8 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.976e-05/0.006513, allocations: 15.98 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-06/0.006515, allocations: 0 / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.006518, allocations: 0 / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.41e-05/0.006552, allocations: 123.2 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006552, allocations: 0 / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001107/0.006663, allocations: 12 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.053e-05/0.006744, allocations: 99.23 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.35e-05/0.006807, allocations: 27.61 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.006808, allocations: 0 / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.006809, allocations: 4.062 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.007006, allocations: 29.92 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002097/0.007215, allocations: 140.1 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.944e-05/0.007245, allocations: 59.34 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.662e-05/0.007261, allocations: 4 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.007312, allocations: 70.2 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.007313, allocations: 0 / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of Templates: time 0.002129/0.009442, allocations: 0.7151 MB / 279.3 MB, free: 11.06 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.797842115163803]