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.002122/0.002122, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002244/0.002244, allocations: 207.2 kB / 24.47 MB, free: 3.977 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.645/1.645, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.001907/0.001907, allocations: 51.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3675, allocations: 53.38 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003577/0.3711, allocations: 1.527 MB / 433.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005057/0.3716, allocations: 135.5 kB / 434 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.901e-05/0.3717, allocations: 4 kB / 434 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.413e-05/0.3717, allocations: 3.938 kB / 434 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.3719, allocations: 7.922 kB / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.3721, allocations: 35.91 kB / 434 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.3723, allocations: 31.92 kB / 434.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3724, allocations: 19.77 kB / 434.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.211e-05/0.3724, allocations: 15.94 kB / 434.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.852e-05/0.3724, allocations: 15.86 kB / 434.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.3725, allocations: 4 kB / 434.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.3725, allocations: 4 kB / 434.1 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.789e-05/0.3725, allocations: 7.984 kB / 434.1 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.3726, allocations: 23.81 kB / 434.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.3727, allocations: 47.47 kB / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3727, allocations: 0 / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3727, allocations: 3.938 kB / 434.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.3727, allocations: 0 / 434.2 MB, free: 4.836 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.0005026/0.3732, allocations: 285.3 kB / 434.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3733, allocations: 8.031 kB / 434.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.3733, allocations: 8.891 kB / 434.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.3736, allocations: 138.4 kB / 434.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.3737, allocations: 8.375 kB / 434.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.3737, allocations: 12.31 kB / 434.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.374, allocations: 113.6 kB / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.374, allocations: 192 / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.374, allocations: 3.938 kB / 434.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.374, allocations: 0 / 434.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.568e-05/0.3741, allocations: 19.98 kB / 434.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.3745, allocations: 209.4 kB / 435 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.3746, allocations: 57.2 kB / 435.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.979e-05/0.3747, allocations: 25.72 kB / 435.1 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.3747, allocations: 3.938 kB / 435.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.3747, allocations: 38.55 kB / 435.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3747, allocations: 0 / 435.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002662/0.375, allocations: 73.52 kB / 435.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.3751, allocations: 77.11 kB / 435.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3752, allocations: 141.9 kB / 435.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3753, allocations: 25.7 kB / 435.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.3753, allocations: 84.14 kB / 435.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.3753, allocations: 3.938 kB / 435.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.3754, allocations: 25.67 kB / 435.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3755, allocations: 318.8 kB / 435.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.182e-05/0.3756, allocations: 8 kB / 435.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.276e-05/0.3756, allocations: 31.42 kB / 435.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.114e-05/0.3757, allocations: 43.38 kB / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3757, allocations: 0 / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001489/0.3759, allocations: 65.5 kB / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3759, allocations: 8 kB / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3759, allocations: 0 / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.3759, allocations: 0 / 436 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.632e-05/0.3759, allocations: 7.984 kB / 436 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3759, allocations: 4.125 kB / 436 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.2e-05/0.376, allocations: 4 kB / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.376, allocations: 0 / 436 MB, free: 2.793 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.0001075/0.3761, allocations: 117.8 kB / 436.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.842e-05/0.3762, allocations: 57.52 kB / 436.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.3762, allocations: 8 kB / 436.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3762, allocations: 4.328 kB / 436.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3762, allocations: 0 / 436.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3762, allocations: 3.984 kB / 436.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.3764, allocations: 113.3 kB / 436.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3764, allocations: 4 kB / 436.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-06/0.3764, allocations: 0 / 436.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.3764, allocations: 7.938 kB / 436.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3764, allocations: 0 / 436.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3764, allocations: 0 / 436.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3764, allocations: 0 / 436.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.3767, allocations: 176.3 kB / 436.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.3767, allocations: 11.89 kB / 436.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.3767, allocations: 0 / 436.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.3768, allocations: 8 kB / 436.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.3768, allocations: 3.984 kB / 436.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.3768, allocations: 4 kB / 436.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.912e-05/0.3769, allocations: 102.5 kB / 436.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3769, allocations: 0 / 436.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003295/0.3773, allocations: 8 kB / 436.6 MB, free: 2.105 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.0001202/0.3774, allocations: 99.19 kB / 436.7 MB, free: 2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.3775, allocations: 31.86 kB / 436.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3775, allocations: 0 / 436.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.782e-05/0.3776, allocations: 12.23 kB / 436.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.378, allocations: 12.03 kB / 436.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.3784, allocations: 162.3 kB / 437 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.762e-05/0.3784, allocations: 71.33 kB / 437 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.027e-05/0.3785, allocations: 4 kB / 437 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.3785, allocations: 7.438 kB / 437 MB, free: 1.656 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3785, allocations: 4 kB / 437 MB, free: 1.652 MB / 334.1 MB Notification: Performance of Templates: time 0.003576/0.3821, allocations: 0.549 MB / 437.6 MB, free: 1.113 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/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.762095455007511]