Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001263/0.001263, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001298/0.001298, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.392/1.392, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.2014/0.2014, allocations: 32.81 MB / 293.5 MB, free: 48 kB / 270.1 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 440.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.426e-05/3.554e-05, allocations: 5.234 kB / 440.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002824/0.00286, allocations: 1.673 MB / 441.8 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.004548, allocations: 0.9509 MB / 442.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.376e-05/0.004612, allocations: 0 / 442.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.004915, allocations: 59.69 kB / 442.9 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.005244, allocations: 99.53 kB / 442.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.00542, allocations: 75.66 kB / 443 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.005597, allocations: 103.6 kB / 443.1 MB, free: 5.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.005638, allocations: 8.219 kB / 443.1 MB, free: 5.105 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.931e-05/0.005737, allocations: 47.84 kB / 443.2 MB, free: 5.059 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.323e-05/0.005821, allocations: 35.84 kB / 443.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.00584, allocations: 0 / 443.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.464e-05/0.005924, allocations: 39.92 kB / 443.3 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.005982, allocations: 19.92 kB / 443.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.498e-05/0.006037, allocations: 27.86 kB / 443.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.006244, allocations: 119.6 kB / 443.4 MB, free: 4.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.006246, allocations: 0 / 443.4 MB, free: 4.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006247, allocations: 0 / 443.4 MB, free: 4.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.006251, allocations: 0 / 443.4 MB, free: 4.82 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005441/0.006795, allocations: 365.3 kB / 443.8 MB, free: 4.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.006827, allocations: 12.03 kB / 443.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.006876, allocations: 20.84 kB / 443.8 MB, free: 4.402 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.007106, allocations: 158.4 kB / 444 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.00712, allocations: 4.312 kB / 444 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.00714, allocations: 8.375 kB / 444 MB, free: 4.207 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.007278, allocations: 46.23 kB / 444 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.007287, allocations: 3.938 kB / 444 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.007298, allocations: 3.984 kB / 444 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.007304, allocations: 7.984 kB / 444 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.736e-05/0.007371, allocations: 12 kB / 444 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.007555, allocations: 141.3 kB / 444.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.007724, allocations: 58.55 kB / 444.2 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.761e-05/0.007782, allocations: 20.84 kB / 444.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.007796, allocations: 0 / 444.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.007941, allocations: 63.39 kB / 444.3 MB, free: 3.797 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.007942, allocations: 0 / 444.3 MB, free: 3.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002907/0.008233, allocations: 105.5 kB / 444.4 MB, free: 3.688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.008281, allocations: 55.34 kB / 444.5 MB, free: 3.621 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.008553, allocations: 280.1 kB / 444.8 MB, free: 3.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.008572, allocations: 25.7 kB / 444.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/0.008653, allocations: 116.1 kB / 444.9 MB, free: 3.191 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.008684, allocations: 19.84 kB / 444.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.008723, allocations: 17.72 kB / 444.9 MB, free: 3.148 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.008883, allocations: 326.8 kB / 445.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.078e-05/0.008934, allocations: 16 kB / 445.3 MB, free: 2.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.295e-05/0.008997, allocations: 29.7 kB / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.0091, allocations: 45.7 kB / 445.3 MB, free: 2.719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.009102, allocations: 4 kB / 445.3 MB, free: 2.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000165/0.009268, allocations: 89.52 kB / 445.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.009284, allocations: 8 kB / 445.4 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.00929, allocations: 3.938 kB / 445.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.009303, allocations: 0 / 445.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.398e-05/0.009377, allocations: 11.94 kB / 445.4 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.009386, allocations: 8.406 kB / 445.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.009429, allocations: 0 / 445.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.009439, allocations: 8 kB / 445.5 MB, free: 2.582 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0001222/0.009562, allocations: 142.5 kB / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.009587, allocations: 11.91 kB / 445.6 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.009812, allocations: 106.8 kB / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.009814, allocations: 0 / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.009819, allocations: 0 / 445.7 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.009826, allocations: 3.984 kB / 445.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.009965, allocations: 145.2 kB / 445.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.009966, allocations: 0 / 445.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.009994, allocations: 11.92 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.009996, allocations: 3.938 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.01001, allocations: 8 kB / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.01001, allocations: 7.938 kB / 445.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01001, allocations: 0 / 445.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.01021, allocations: 117 kB / 446 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.01023, allocations: 11.91 kB / 446 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.01025, allocations: 0 / 446 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.159e-05/0.0103, allocations: 7.922 kB / 446 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.01032, allocations: 4 kB / 446 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.01034, allocations: 4 kB / 446 MB, free: 1.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.01053, allocations: 212.4 kB / 446.2 MB, free: 1.738 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01053, allocations: 0 / 446.2 MB, free: 1.738 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.01075, allocations: 23.94 kB / 446.3 MB, free: 1.715 MB / 366.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 ($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 (6): * Single equations (assignments): 4 * 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.001609/0.01236, allocations: 440.5 kB / 446.7 MB, free: 1.457 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.01253, allocations: 43.97 kB / 446.7 MB, free: 1.414 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.01254, allocations: 4 kB / 446.7 MB, free: 1.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.258e-05/0.01261, allocations: 19.94 kB / 446.8 MB, free: 1.391 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.01288, allocations: 30.34 kB / 446.8 MB, free: 1.367 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.01339, allocations: 273.7 kB / 447.1 MB, free: 1.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.01351, allocations: 113.7 kB / 447.2 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.202e-05/0.01356, allocations: 8.484 kB / 447.2 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.01359, allocations: 16.5 kB / 447.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.01359, allocations: 0 / 447.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of Templates: time 0.1689/0.1825, allocations: 1.637 MB / 448.8 MB, free: 21.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.4732451364398]