Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001394/0.001394, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001637/0.001637, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.642/1.642, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 47.92 kB / 378.3 MB, free: 2.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3632, allocations: 53.35 MB / 431.6 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.004054/0.3673, allocations: 1.539 MB / 433.2 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005124/0.3678, allocations: 139.5 kB / 433.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.992e-05/0.3679, allocations: 3.938 kB / 433.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.856e-05/0.368, allocations: 3.938 kB / 433.3 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.3681, allocations: 4 kB / 433.3 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.3683, allocations: 43.83 kB / 433.3 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3685, allocations: 35.86 kB / 433.4 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.3686, allocations: 12 kB / 433.4 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.269e-05/0.3686, allocations: 19.91 kB / 433.4 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.535e-05/0.3687, allocations: 19.86 kB / 433.4 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.3687, allocations: 0 / 433.4 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.3687, allocations: 4 kB / 433.4 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.013e-05/0.3688, allocations: 8 kB / 433.4 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.3688, allocations: 19.81 kB / 433.5 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.369, allocations: 51.59 kB / 433.5 MB, free: 5.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.369, allocations: 3.984 kB / 433.5 MB, free: 5.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.369, allocations: 4 kB / 433.5 MB, free: 5.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.369, allocations: 0 / 433.5 MB, free: 5.086 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.0005551/0.3695, allocations: 287.5 kB / 433.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.3696, allocations: 12.02 kB / 433.8 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.3696, allocations: 8.891 kB / 433.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.3699, allocations: 136.3 kB / 434 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.3699, allocations: 4.375 kB / 434 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.3699, allocations: 12.38 kB / 434 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.3702, allocations: 105.6 kB / 434.1 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3702, allocations: 4.188 kB / 434.1 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3702, allocations: 3.938 kB / 434.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3702, allocations: 0 / 434.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.025e-05/0.3703, allocations: 15.94 kB / 434.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.3707, allocations: 232.8 kB / 434.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.3709, allocations: 61.08 kB / 434.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.9e-05/0.371, allocations: 33.77 kB / 434.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.371, allocations: 0 / 434.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.371, allocations: 30.56 kB / 434.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.371, allocations: 0 / 434.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002659/0.3713, allocations: 69.58 kB / 434.5 MB, free: 3.938 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/0.3714, allocations: 81.28 kB / 434.6 MB, free: 3.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.3715, allocations: 138 kB / 434.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.3715, allocations: 25.7 kB / 434.8 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.3716, allocations: 84.14 kB / 434.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.3716, allocations: 3.938 kB / 434.8 MB, free: 3.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.3717, allocations: 21.72 kB / 434.9 MB, free: 3.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000282/0.3719, allocations: 326.7 kB / 435.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.322e-05/0.372, allocations: 4 kB / 435.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.685e-05/0.372, allocations: 35.41 kB / 435.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.846e-05/0.3721, allocations: 43.38 kB / 435.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3721, allocations: 0 / 435.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001257/0.3722, allocations: 69.52 kB / 435.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3723, allocations: 11.92 kB / 435.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.3723, allocations: 8 kB / 435.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3723, allocations: 0 / 435.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.196e-05/0.3723, allocations: 0 / 435.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3723, allocations: 4 kB / 435.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.3723, allocations: 0 / 435.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.3723, allocations: 4 kB / 435.4 MB, free: 3.012 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001227/0.3725, allocations: 129.8 kB / 435.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.254e-05/0.3725, allocations: 45.66 kB / 435.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.622e-05/0.3726, allocations: 15.98 kB / 435.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3726, allocations: 0 / 435.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3726, allocations: 0 / 435.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3726, allocations: 0 / 435.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.3728, allocations: 144.7 kB / 435.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3728, allocations: 4 kB / 435.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.533e-06/0.3728, allocations: 0 / 435.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3728, allocations: 0 / 435.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.3728, allocations: 0 / 435.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3728, allocations: 8 kB / 435.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3728, allocations: 3.938 kB / 435.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.373, allocations: 160.3 kB / 435.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.373, allocations: 15.94 kB / 435.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.3731, allocations: 0 / 435.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.795e-05/0.3731, allocations: 4 kB / 435.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.3731, allocations: 7.984 kB / 435.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.3732, allocations: 0 / 435.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001864/0.3733, allocations: 105.8 kB / 436 MB, free: 2.297 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3733, allocations: 0 / 436 MB, free: 2.297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.3736, allocations: 4 kB / 436 MB, free: 2.293 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001138/0.3737, allocations: 95.25 kB / 436.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.3738, allocations: 32.11 kB / 436.1 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3738, allocations: 4.062 kB / 436.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.655e-05/0.3738, allocations: 7.938 kB / 436.1 MB, free: 2.148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.3742, allocations: 26.55 kB / 436.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.3745, allocations: 150.4 kB / 436.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.3749, allocations: 0.6885 MB / 437 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.642e-05/0.3749, allocations: 3.938 kB / 437 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.3749, allocations: 15.5 kB / 437 MB, free: 1.215 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3749, allocations: 0 / 437 MB, free: 1.215 MB / 334.1 MB Notification: Performance of Templates: time 0.003861/0.3788, allocations: 0.523 MB / 437.5 MB, free: 0.6953 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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: 5.084850178100169]