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.001733/0.001733, allocations: 82.97 kB / 20.68 MB, free: 1.035 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.002029/0.002029, allocations: 164.2 kB / 23.95 MB, free: 4.168 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.478/1.478, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.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 2.495e-06/2.495e-06, allocations: 0 / 325.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.826e-05, allocations: 3.562 kB / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003089/0.003117, allocations: 1.535 MB / 326.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005429/0.00366, allocations: 144.1 kB / 326.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.003781, allocations: 1.656 kB / 326.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.542e-05/0.003837, allocations: 5.484 kB / 326.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.003999, allocations: 11.23 kB / 326.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.004304, allocations: 36.64 kB / 326.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.004441, allocations: 28.8 kB / 326.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.004556, allocations: 19.2 kB / 326.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.384e-05/0.00462, allocations: 18.42 kB / 326.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.883e-05/0.004659, allocations: 10.7 kB / 326.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.004694, allocations: 2.781 kB / 326.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.004707, allocations: 2.562 kB / 326.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.564e-05/0.004773, allocations: 13.5 kB / 326.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.004807, allocations: 9.047 kB / 326.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.004961, allocations: 52.23 kB / 326.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004963, allocations: 1.062 kB / 326.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.004965, allocations: 0.5625 kB / 326.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.004974, allocations: 0 / 326.9 MB, free: 15.32 MB / 302.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.0005045/0.005479, allocations: 291.6 kB / 327.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.005517, allocations: 9.25 kB / 327.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.005555, allocations: 9.125 kB / 327.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.005793, allocations: 132.8 kB / 327.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.005814, allocations: 3.062 kB / 327.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.005829, allocations: 3.375 kB / 327.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.006145, allocations: 116.9 kB / 327.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.006156, allocations: 192 / 327.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.006165, allocations: 1.5 kB / 327.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.00617, allocations: 384 / 327.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.821e-05/0.006238, allocations: 19.86 kB / 327.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.00657, allocations: 216.1 kB / 327.7 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.006723, allocations: 55.41 kB / 327.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.187e-05/0.006785, allocations: 24.55 kB / 327.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.006809, allocations: 9.188 kB / 327.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.006834, allocations: 34.09 kB / 327.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.006835, allocations: 3.938 kB / 327.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002552/0.00709, allocations: 70.89 kB / 327.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.76e-05/0.007188, allocations: 80.09 kB / 328 MB, free: 14.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.007327, allocations: 139 kB / 328.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.007347, allocations: 25.7 kB / 328.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.007406, allocations: 88.08 kB / 328.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.504e-06/0.007414, allocations: 0 / 328.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.007452, allocations: 19.02 kB / 328.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.007594, allocations: 317.1 kB / 328.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.00762, allocations: 3.406 kB / 328.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.873e-05/0.007639, allocations: 4.203 kB / 328.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.848e-05/0.007687, allocations: 16.8 kB / 328.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007689, allocations: 0 / 328.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.946e-05/0.007778, allocations: 45.48 kB / 328.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.007793, allocations: 5.312 kB / 328.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.0078, allocations: 3.938 kB / 328.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.007816, allocations: 5.984 kB / 328.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.079e-05/0.007827, allocations: 4 kB / 328.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.007833, allocations: 0.6562 kB / 328.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.007857, allocations: 1.125 kB / 328.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.007863, allocations: 2.172 kB / 328.7 MB, free: 13.66 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.792e-05/0.007961, allocations: 115.9 kB / 328.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.959e-05/0.008041, allocations: 47.5 kB / 328.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.008076, allocations: 20.06 kB / 328.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.008078, allocations: 1.531 kB / 328.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.008083, allocations: 1.375 kB / 328.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.008086, allocations: 4.797 kB / 328.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.008286, allocations: 110.5 kB / 329 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.008287, allocations: 0 / 329 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-06/0.008296, allocations: 2.188 kB / 329 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.008298, allocations: 0.75 kB / 329 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.008305, allocations: 0.9375 kB / 329 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.008309, allocations: 5.156 kB / 329 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.008312, allocations: 2 kB / 329 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.008505, allocations: 157.9 kB / 329.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.008541, allocations: 12.44 kB / 329.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.008558, allocations: 13.8 kB / 329.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.944e-05/0.008618, allocations: 6.734 kB / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.008653, allocations: 2.016 kB / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.008659, allocations: 1 kB / 329.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.553e-05/0.008744, allocations: 102.7 kB / 329.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008744, allocations: 1.188 kB / 329.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.008964, allocations: 7.203 kB / 329.3 MB, free: 13.1 MB / 302.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.0001204/0.009084, allocations: 99.66 kB / 329.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.009203, allocations: 17.41 kB / 329.4 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.009205, allocations: 5.031 kB / 329.4 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.284e-05/0.009238, allocations: 12.14 kB / 329.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.009551, allocations: 22.41 kB / 329.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.009895, allocations: 155.8 kB / 329.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.108e-05/0.009976, allocations: 74.44 kB / 329.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.882e-05/0.009994, allocations: 0.7969 kB / 329.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.01003, allocations: 12.09 kB / 329.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.01003, allocations: 4.125 kB / 329.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of Templates: time 0.003483/0.01351, allocations: 0.5038 MB / 330.2 MB, free: 12.68 MB / 302.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: 4.286524906754494]