Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001325/0.001325, allocations: 83.22 kB / 20.68 MB, free: 1.027 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.001338/0.001338, allocations: 168.5 kB / 23.96 MB, free: 4.148 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.369/1.369, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 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.2185/0.2185, allocations: 32.81 MB / 293.5 MB, free: 52 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 440.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.481e-05, allocations: 2.281 kB / 440.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003022/0.003047, allocations: 1.707 MB / 441.9 MB, free: 6.363 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.004828, allocations: 0.982 MB / 442.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.767e-05/0.004905, allocations: 0 / 442.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.005198, allocations: 55.75 kB / 442.9 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.005566, allocations: 99.48 kB / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.0058, allocations: 83.53 kB / 443.1 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.005991, allocations: 107.7 kB / 443.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.806e-05/0.006069, allocations: 4 kB / 443.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.006185, allocations: 55.78 kB / 443.3 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.71e-05/0.006272, allocations: 31.89 kB / 443.3 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.006293, allocations: 4 kB / 443.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.864e-05/0.006392, allocations: 43.98 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.95e-05/0.006461, allocations: 31.86 kB / 443.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.336e-05/0.006515, allocations: 19.92 kB / 443.4 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.00676, allocations: 131.5 kB / 443.5 MB, free: 4.719 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.006764, allocations: 7.938 kB / 443.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.006766, allocations: 3.984 kB / 443.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.006771, allocations: 0 / 443.5 MB, free: 4.707 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005582/0.007329, allocations: 369.3 kB / 443.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.007365, allocations: 8.031 kB / 443.9 MB, free: 4.309 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.007418, allocations: 16.84 kB / 443.9 MB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.007649, allocations: 162.4 kB / 444.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.007665, allocations: 4.375 kB / 444.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.007685, allocations: 4.375 kB / 444.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.007838, allocations: 62.22 kB / 444.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.007853, allocations: 7.875 kB / 444.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.007862, allocations: 0 / 444.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.007867, allocations: 0 / 444.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.237e-05/0.007949, allocations: 19.98 kB / 444.2 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.008304, allocations: 236.5 kB / 444.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.008489, allocations: 70.66 kB / 444.5 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.951e-05/0.008549, allocations: 24.78 kB / 444.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.008564, allocations: 0 / 444.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.008722, allocations: 71.38 kB / 444.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.008723, allocations: 0 / 444.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005951/0.009318, allocations: 197.2 kB / 444.8 MB, free: 3.355 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.00937, allocations: 51.41 kB / 444.8 MB, free: 3.293 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.009651, allocations: 276.1 kB / 445.1 MB, free: 3.016 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.009672, allocations: 29.7 kB / 445.1 MB, free: 2.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.009757, allocations: 116.1 kB / 445.2 MB, free: 2.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.00979, allocations: 27.73 kB / 445.3 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.009837, allocations: 29.7 kB / 445.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.009974, allocations: 322.8 kB / 445.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.268e-05/0.01004, allocations: 23.98 kB / 445.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.215e-05/0.01011, allocations: 37.7 kB / 445.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.01024, allocations: 65.7 kB / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01024, allocations: 4 kB / 445.7 MB, free: 2.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002103/0.01045, allocations: 117.5 kB / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.01047, allocations: 4 kB / 445.8 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.01047, allocations: 0 / 445.8 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.01049, allocations: 4 kB / 445.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.01057, allocations: 12.19 kB / 445.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.01058, allocations: 3.938 kB / 445.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.079e-05/0.01063, allocations: 11.92 kB / 445.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.01064, allocations: 0 / 445.9 MB, free: 2.18 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 (10): * Single equations (assignments): 10 * 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.0001218/0.01076, allocations: 138.4 kB / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.01079, allocations: 19.86 kB / 446 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.01107, allocations: 131.1 kB / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.01107, allocations: 0 / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01107, allocations: 0 / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01107, allocations: 0 / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004703/0.01155, allocations: 370.8 kB / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.01155, allocations: 4 kB / 446.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.01159, allocations: 8 kB / 446.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01159, allocations: 384 / 446.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.0116, allocations: 0 / 446.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.01161, allocations: 8 kB / 446.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01161, allocations: 4.031 kB / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.01189, allocations: 220.2 kB / 446.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.01191, allocations: 11.91 kB / 446.8 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.01194, allocations: 8 kB / 446.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.01201, allocations: 0 / 446.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.01204, allocations: 7.984 kB / 446.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.01206, allocations: 4 kB / 446.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.01226, allocations: 216.3 kB / 447 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01226, allocations: 0 / 447 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.01253, allocations: 31.88 kB / 447 MB, free: 0.9453 MB / 366.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: 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 (9): * Single equations (assignments): 7 * 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.001798/0.01433, allocations: 492.8 kB / 447.5 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.01452, allocations: 63.91 kB / 447.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01453, allocations: 0 / 447.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.963e-05/0.01461, allocations: 32.05 kB / 447.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.01496, allocations: 30.97 kB / 447.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005614/0.01552, allocations: 298.8 kB / 447.9 MB, free: 236 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.01562, allocations: 101.1 kB / 448 MB, free: 112 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.187e-05/0.01567, allocations: 17.03 kB / 448 MB, free: 96 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.01573, allocations: 20.5 kB / 448.1 MB, free: 76 kB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.01573, allocations: 0 / 448.1 MB, free: 76 kB / 366.1 MB Notification: Performance of Templates: time 0.1658/0.1815, allocations: 1.874 MB / 449.9 MB, free: 21.14 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.5774680487811565]