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.001706/0.001706, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001907/0.001907, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 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.635/1.635, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001574/0.001574, allocations: 47.92 kB / 378.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3356, allocations: 53.37 MB / 431.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003788/0.3394, allocations: 1.512 MB / 433.1 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.3406, allocations: 0.4908 MB / 433.6 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.734e-05/0.3407, allocations: 0 / 433.6 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.56e-05/0.3407, allocations: 7.922 kB / 433.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.3409, allocations: 11.94 kB / 433.6 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.3411, allocations: 35.89 kB / 433.7 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.3413, allocations: 51.86 kB / 433.7 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3414, allocations: 11.97 kB / 433.7 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.365e-05/0.3415, allocations: 23.88 kB / 433.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.3415, allocations: 23.91 kB / 433.8 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.3416, allocations: 7.938 kB / 433.8 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.455e-05/0.3416, allocations: 4 kB / 433.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.3416, allocations: 11.94 kB / 433.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.336e-05/0.3417, allocations: 27.84 kB / 433.8 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.3418, allocations: 43.69 kB / 433.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.3418, allocations: 3.984 kB / 433.9 MB, free: 4.656 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3418, allocations: 4 kB / 433.9 MB, free: 4.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3418, allocations: 0 / 433.9 MB, free: 4.652 MB / 334.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.000669/0.3425, allocations: 291.7 kB / 434.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.3426, allocations: 8.031 kB / 434.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.3426, allocations: 12.89 kB / 434.2 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.3429, allocations: 138.3 kB / 434.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.3429, allocations: 4.375 kB / 434.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.343, allocations: 384 / 434.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.3434, allocations: 147.5 kB / 434.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3434, allocations: 3.938 kB / 434.5 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3434, allocations: 4 kB / 434.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.3434, allocations: 0 / 434.5 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.3435, allocations: 27.98 kB / 434.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.3437, allocations: 132.7 kB / 434.6 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.344, allocations: 62.55 kB / 434.7 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.802e-05/0.3441, allocations: 32.84 kB / 434.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3441, allocations: 0 / 434.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.3441, allocations: 34.5 kB / 434.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.3441, allocations: 0 / 434.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003197/0.3444, allocations: 85.62 kB / 434.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.3445, allocations: 59.34 kB / 434.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.3446, allocations: 113.8 kB / 435 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.3446, allocations: 33.64 kB / 435.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.3447, allocations: 84.14 kB / 435.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.3447, allocations: 3.984 kB / 435.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.3448, allocations: 21.72 kB / 435.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3449, allocations: 314.8 kB / 435.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.345, allocations: 7.984 kB / 435.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.203e-05/0.345, allocations: 49.41 kB / 435.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.392e-05/0.3451, allocations: 57.09 kB / 435.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3451, allocations: 4 kB / 435.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001455/0.3452, allocations: 77.5 kB / 435.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.3453, allocations: 11.94 kB / 435.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3453, allocations: 0 / 435.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3453, allocations: 7.938 kB / 435.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.388e-05/0.3453, allocations: 4 kB / 435.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.3454, allocations: 4 kB / 435.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.329e-05/0.3454, allocations: 0 / 435.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.3454, allocations: 8.188 kB / 435.7 MB, free: 2.625 MB / 334.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 0.0001067/0.3455, allocations: 117.8 kB / 435.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.3457, allocations: 81.5 kB / 435.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.3457, allocations: 8.375 kB / 435.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3457, allocations: 0 / 435.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3457, allocations: 0 / 435.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3457, allocations: 3.938 kB / 435.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.3459, allocations: 136.7 kB / 436 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3459, allocations: 0 / 436 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.995e-05/0.346, allocations: 8 kB / 436 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.346, allocations: 3.938 kB / 436 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.346, allocations: 8 kB / 436.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.346, allocations: 0 / 436.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.346, allocations: 4.453 kB / 436.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.3462, allocations: 93.02 kB / 436.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.971e-05/0.3462, allocations: 11.92 kB / 436.2 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.3462, allocations: 128 / 436.2 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.413e-05/0.3463, allocations: 27.98 kB / 436.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-06/0.3463, allocations: 0 / 436.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3463, allocations: 0 / 436.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.893e-05/0.3464, allocations: 95.25 kB / 436.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3464, allocations: 0 / 436.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.3466, allocations: 8 kB / 436.3 MB, free: 1.949 MB / 334.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.0001242/0.3467, allocations: 99.25 kB / 436.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.3469, allocations: 35.92 kB / 436.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3469, allocations: 0 / 436.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-07/0.3469, allocations: 3.938 kB / 436.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.3473, allocations: 39.95 kB / 436.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.3476, allocations: 140.3 kB / 436.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004945/0.3481, allocations: 0.6846 MB / 437.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.644e-05/0.3481, allocations: 7.984 kB / 437.3 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.3482, allocations: 7.438 kB / 437.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3482, allocations: 0 / 437.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of Templates: time 0.003392/0.3516, allocations: 0.6854 MB / 438 MB, free: 204 kB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.951404540101066]