Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.00137, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 49.81 kB / 300.6 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1125, allocations: 49.44 MB / 350.1 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003051/0.1156, allocations: 1.468 MB / 351.5 MB, free: 2.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007416/0.1164, allocations: 452.3 kB / 352 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.489e-05/0.1165, allocations: 4 kB / 352 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.1165, allocations: 3.938 kB / 352 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.1167, allocations: 15.86 kB / 352 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.1169, allocations: 29.34 kB / 352 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.736e-05/0.117, allocations: 71.64 kB / 352.1 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1171, allocations: 8 kB / 352.1 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.975e-05/0.1172, allocations: 19.92 kB / 352.1 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.474e-05/0.1172, allocations: 23.92 kB / 352.1 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.1172, allocations: 4 kB / 352.1 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.1173, allocations: 4 kB / 352.1 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.1173, allocations: 7.984 kB / 352.2 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.1173, allocations: 23.86 kB / 352.2 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.1174, allocations: 47.88 kB / 352.2 MB, free: 2.227 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1174, allocations: 4 kB / 352.2 MB, free: 2.223 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1174, allocations: 0 / 352.2 MB, free: 2.223 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1175, allocations: 0 / 352.2 MB, free: 2.223 MB / 286.1 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.0006177/0.1181, allocations: 383.5 kB / 352.6 MB, free: 1.801 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1181, allocations: 19.83 kB / 352.6 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.1182, allocations: 4.938 kB / 352.6 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1184, allocations: 184.2 kB / 352.8 MB, free: 1.559 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1184, allocations: 4.375 kB / 352.8 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.1185, allocations: 8.359 kB / 352.8 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.1189, allocations: 143.5 kB / 353 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1189, allocations: 3.984 kB / 353 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1189, allocations: 0 / 353 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1189, allocations: 0 / 353 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.119, allocations: 35.92 kB / 353 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.1192, allocations: 157.7 kB / 353.2 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.1194, allocations: 135.7 kB / 353.3 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.432e-05/0.1195, allocations: 36.84 kB / 353.3 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.1195, allocations: 0 / 353.3 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.1195, allocations: 34.5 kB / 353.4 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.1195, allocations: 0 / 353.4 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002679/0.1198, allocations: 97.45 kB / 353.5 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.1199, allocations: 55.41 kB / 353.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.718e-05/0.12, allocations: 109.8 kB / 353.6 MB, free: 0.625 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.12, allocations: 29.7 kB / 353.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.1201, allocations: 84.14 kB / 353.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.1201, allocations: 3.984 kB / 353.7 MB, free: 0.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.1201, allocations: 21.72 kB / 353.7 MB, free: 484 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1202, allocations: 314.8 kB / 354.1 MB, free: 160 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.1203, allocations: 7.984 kB / 354.1 MB, free: 152 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.964e-05/0.1203, allocations: 45.16 kB / 354.1 MB, free: 88 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.847e-05/0.1204, allocations: 57.03 kB / 354.2 MB, free: 12 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1204, allocations: 4 kB / 354.2 MB, free: 8 kB / 286.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001238/0.1205, allocations: 81.39 kB / 354.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1205, allocations: 11.94 kB / 354.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1206, allocations: 0 / 354.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.1206, allocations: 4 kB / 354.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.53e-05/0.1206, allocations: 4 kB / 354.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1206, allocations: 4 kB / 354.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.495e-05/0.1207, allocations: 7.938 kB / 354.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1207, allocations: 8.188 kB / 354.3 MB, free: 15.88 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.715e-05/0.1208, allocations: 117.8 kB / 354.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.1209, allocations: 73.52 kB / 354.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.121, allocations: 8.375 kB / 354.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.121, allocations: 0 / 354.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.121, allocations: 0 / 354.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.121, allocations: 4 kB / 354.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.1211, allocations: 165.6 kB / 354.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1211, allocations: 320 / 354.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.1212, allocations: 12 kB / 354.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1212, allocations: 3.938 kB / 354.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1212, allocations: 4 kB / 354.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1212, allocations: 3.984 kB / 354.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1212, allocations: 0 / 354.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.1214, allocations: 93.06 kB / 354.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.1215, allocations: 92.94 kB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.1215, allocations: 4 kB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.1216, allocations: 15.98 kB / 354.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-06/0.1216, allocations: 4 kB / 354.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.1216, allocations: 0 / 354.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.819e-05/0.1217, allocations: 91.27 kB / 355 MB, free: 15.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1217, allocations: 0 / 355 MB, free: 15.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002076/0.1219, allocations: 4 kB / 355 MB, free: 15.09 MB / 302.1 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 0.000137/0.122, allocations: 115.1 kB / 355.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.1222, allocations: 39.92 kB / 355.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1222, allocations: 3.938 kB / 355.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/0.1222, allocations: 0 / 355.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.1226, allocations: 39.95 kB / 355.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.1229, allocations: 141.8 kB / 355.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.1232, allocations: 0.6846 MB / 356 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.373e-05/0.1232, allocations: 7.984 kB / 356 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.1232, allocations: 7.438 kB / 356 MB, free: 14 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1232, allocations: 0 / 356 MB, free: 14 MB / 302.1 MB Notification: Performance of Templates: time 0.002785/0.126, allocations: 0.6354 MB / 356.6 MB, free: 13.37 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches