Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.00151/0.00151, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 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.001231/0.001231, allocations: 174.3 kB / 24.91 MB, free: 8.73 MB / 18.57 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.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2632/0.2632, allocations: 32.8 MB / 294.6 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 323.4 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.319e-05, allocations: 7.234 kB / 323.4 MB, free: 9.543 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002672/0.002695, allocations: 1.983 MB / 325.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.00403, allocations: 1.04 MB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.854e-05/0.004128, allocations: 11.94 kB / 326.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.004426, allocations: 43.64 kB / 326.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.004701, allocations: 99.41 kB / 326.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.004883, allocations: 91.66 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.005076, allocations: 156 kB / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.005186, allocations: 30.44 kB / 326.8 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.005293, allocations: 67.81 kB / 326.9 MB, free: 6.008 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.305e-05/0.005386, allocations: 43.83 kB / 326.9 MB, free: 5.965 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.005405, allocations: 8 kB / 326.9 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.477e-05/0.005479, allocations: 55.86 kB / 327 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.005527, allocations: 23.91 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.00557, allocations: 31.86 kB / 327 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.005778, allocations: 127.5 kB / 327.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.005781, allocations: 0 / 327.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005782, allocations: 0 / 327.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.005787, allocations: 0 / 327.2 MB, free: 5.723 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004351/0.006222, allocations: 386.9 kB / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.006257, allocations: 12.03 kB / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.006295, allocations: 12.92 kB / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.006474, allocations: 166.3 kB / 327.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.006491, allocations: 12.38 kB / 327.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.006512, allocations: 8.328 kB / 327.7 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.006666, allocations: 140.4 kB / 327.9 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.006676, allocations: 3.938 kB / 327.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.006686, allocations: 4 kB / 327.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.006692, allocations: 0 / 327.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.866e-05/0.006731, allocations: 26.75 kB / 327.9 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.007078, allocations: 378.1 kB / 328.3 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.007239, allocations: 109.2 kB / 328.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.007266, allocations: 20.84 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.007279, allocations: 0 / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.007383, allocations: 95.91 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.007385, allocations: 0 / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001352/0.00752, allocations: 73.61 kB / 328.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.00755, allocations: 59.39 kB / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.007663, allocations: 189.6 kB / 328.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.007679, allocations: 29.7 kB / 328.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.007737, allocations: 112 kB / 329 MB, free: 3.742 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.007754, allocations: 23.83 kB / 329 MB, free: 3.719 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.007789, allocations: 29.7 kB / 329 MB, free: 3.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.007902, allocations: 330.7 kB / 329.3 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.007928, allocations: 14.81 kB / 329.3 MB, free: 3.336 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.007966, allocations: 46.47 kB / 329.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.707e-05/0.008043, allocations: 69.86 kB / 329.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.008046, allocations: 0 / 329.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001182/0.008164, allocations: 92.36 kB / 329.5 MB, free: 3.094 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.008181, allocations: 4 kB / 329.6 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.008186, allocations: 0 / 329.6 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.008202, allocations: 4 kB / 329.6 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.513e-05/0.008287, allocations: 28.05 kB / 329.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.008291, allocations: 4 kB / 329.6 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.741e-05/0.008328, allocations: 15.89 kB / 329.6 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.008341, allocations: 7.984 kB / 329.6 MB, free: 3.031 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.897e-05/0.00843, allocations: 124.6 kB / 329.7 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.008447, allocations: 11.98 kB / 329.7 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.008577, allocations: 75.55 kB / 329.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.00858, allocations: 0 / 329.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.008583, allocations: 11.92 kB / 329.8 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.008588, allocations: 0 / 329.8 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.008706, allocations: 109.7 kB / 329.9 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.00871, allocations: 3.938 kB / 329.9 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.584e-05/0.008776, allocations: 15.98 kB / 330 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.008778, allocations: 0 / 330 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.008789, allocations: 0 / 330 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.008795, allocations: 7.938 kB / 330 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.008796, allocations: 0 / 330 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.008951, allocations: 114.8 kB / 330.1 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.008968, allocations: 15.84 kB / 330.1 MB, free: 2.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.008985, allocations: 4 kB / 330.1 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.267e-05/0.009018, allocations: 15.95 kB / 330.1 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.009052, allocations: 4 kB / 330.1 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.009067, allocations: 7.984 kB / 330.1 MB, free: 2.461 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.405e-05/0.009141, allocations: 56.22 kB / 330.2 MB, free: 2.402 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009141, allocations: 0 / 330.2 MB, free: 2.402 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001348/0.009276, allocations: 24 kB / 330.2 MB, free: 2.379 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001129/0.01041, allocations: 0.4959 MB / 330.7 MB, free: 2.148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.01051, allocations: 52.94 kB / 330.7 MB, free: 2.094 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.01051, allocations: 8.062 kB / 330.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.438e-05/0.01055, allocations: 24.8 kB / 330.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.01071, allocations: 43.84 kB / 330.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.01109, allocations: 255 kB / 331.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.409e-05/0.01113, allocations: 75.77 kB / 331.1 MB, free: 1.648 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.949e-05/0.01117, allocations: 21.47 kB / 331.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/0.01124, allocations: 75.36 kB / 331.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01124, allocations: 0 / 331.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of Templates: time 0.004385/0.01562, allocations: 2.19 MB / 333.4 MB, free: 15.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9919350622221828]