Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001147/0.001147, allocations: 91.67 kB / 21.2 MB, free: 3.367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 160.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.015/1.015, allocations: 177 MB / 204.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.835e-05, allocations: 6.312 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002372/0.0024, allocations: 1.547 MB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007708/0.003171, allocations: 478.6 kB / 274.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.322e-05/0.003244, allocations: 4 kB / 274.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.003279, allocations: 3.938 kB / 274.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.003461, allocations: 15.86 kB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.003637, allocations: 31.84 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.981e-05/0.003736, allocations: 67.77 kB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.017e-05/0.003827, allocations: 0 / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.956e-05/0.003906, allocations: 31.97 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.003946, allocations: 19.92 kB / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.003968, allocations: 4 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.003977, allocations: 4 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.003998, allocations: 11.97 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.004027, allocations: 15.94 kB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.004137, allocations: 39.77 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.00414, allocations: 0 / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004141, allocations: 0 / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.004146, allocations: 8 kB / 275.2 MB, free: 15.2 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.0005655/0.004712, allocations: 392.5 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.004751, allocations: 15.97 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.004795, allocations: 8.891 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.00495, allocations: 124.6 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.004971, allocations: 16.36 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.004982, allocations: 4.375 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.005282, allocations: 138 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.005291, allocations: 192 / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.005305, allocations: 4.375 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.005316, allocations: 3.938 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.729e-05/0.005363, allocations: 11.98 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.005477, allocations: 116.6 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.00562, allocations: 59.11 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.005656, allocations: 23.67 kB / 276.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.005676, allocations: 0 / 276.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.005702, allocations: 41.33 kB / 276.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.005703, allocations: 0 / 276.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001882/0.005891, allocations: 69.64 kB / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.005944, allocations: 59.34 kB / 276.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.524e-05/0.00603, allocations: 165.9 kB / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.006042, allocations: 29.7 kB / 276.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.006084, allocations: 134.9 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.006097, allocations: 3.984 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.006128, allocations: 23.38 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.006239, allocations: 492.1 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.082e-05/0.00625, allocations: 0 / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.346e-06/0.006258, allocations: 11.88 kB / 277.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.376e-05/0.006282, allocations: 15.69 kB / 277.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.006284, allocations: 0 / 277.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.217e-05/0.006336, allocations: 41.64 kB / 277.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.00635, allocations: 8.094 kB / 277.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.006355, allocations: 0 / 277.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.006367, allocations: 0 / 277.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.978e-05/0.006407, allocations: 4.25 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.006414, allocations: 3.938 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/0.006433, allocations: 4 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-06/0.006436, allocations: 0 / 277.2 MB, free: 13 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 8.007e-05/0.006516, allocations: 164.5 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/0.006577, allocations: 53.69 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.006607, allocations: 12.42 kB / 277.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.006609, allocations: 4 kB / 277.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.006614, allocations: 3.938 kB / 277.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.006616, allocations: 4 kB / 277.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.816e-05/0.006674, allocations: 124.5 kB / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006675, allocations: 0 / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.006711, allocations: 4 kB / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.006713, allocations: 0 / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.006722, allocations: 8 kB / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006723, allocations: 0 / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.006724, allocations: 0 / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.193e-05/0.006806, allocations: 104.3 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.006817, allocations: 7.953 kB / 277.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.006831, allocations: 0 / 277.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.404e-05/0.006866, allocations: 11.98 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-06/0.006868, allocations: 0 / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.006875, allocations: 4 kB / 277.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.905e-05/0.006914, allocations: 135.1 kB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006914, allocations: 0 / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001219/0.007036, allocations: 8 kB / 277.8 MB, free: 12.28 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.32e-05/0.007119, allocations: 99.25 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.873e-05/0.007207, allocations: 27.62 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007209, allocations: 3.938 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.007209, allocations: 0 / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.00744, allocations: 31.08 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.007679, allocations: 136.2 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.348e-05/0.007712, allocations: 63.34 kB / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.35e-05/0.007726, allocations: 0 / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.007758, allocations: 16.56 kB / 278.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.007759, allocations: 0 / 278.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of Templates: time 0.002504/0.01026, allocations: 0.6935 MB / 278.9 MB, free: 11.17 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.858751150779426]