Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001329/0.001329, allocations: 77.62 kB / 20.52 MB, free: 1.281 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.00145/0.00145, allocations: 163.3 kB / 23.76 MB, free: 4.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 158.6 MB / 185.5 MB, free: 6.219 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2189/0.2189, allocations: 32.38 MB / 270.1 MB, free: 2.699 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 67.91 kB / 407.8 MB, free: 5.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.144, allocations: 61.05 MB / 468.9 MB, free: 8.238 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003478/0.1475, allocations: 1.68 MB / 470.5 MB, free: 6.547 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.149, allocations: 0.7765 MB / 471.3 MB, free: 5.762 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.728e-05/0.1491, allocations: 4 kB / 471.3 MB, free: 5.758 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.1494, allocations: 59.73 kB / 471.4 MB, free: 5.699 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.1496, allocations: 55.77 kB / 471.4 MB, free: 5.645 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.1499, allocations: 83.77 kB / 471.5 MB, free: 5.562 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.1501, allocations: 99.69 kB / 471.6 MB, free: 5.465 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1502, allocations: 16.16 kB / 471.6 MB, free: 5.449 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.505e-05/0.1503, allocations: 35.86 kB / 471.7 MB, free: 5.414 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.741e-05/0.1504, allocations: 31.78 kB / 471.7 MB, free: 5.383 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.1504, allocations: 4 kB / 471.7 MB, free: 5.379 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1505, allocations: 43.98 kB / 471.7 MB, free: 5.336 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.401e-05/0.1506, allocations: 31.84 kB / 471.8 MB, free: 5.305 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.1506, allocations: 35.67 kB / 471.8 MB, free: 5.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.1509, allocations: 131.4 kB / 471.9 MB, free: 5.141 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1509, allocations: 4 kB / 471.9 MB, free: 5.137 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1509, allocations: 4 kB / 471.9 MB, free: 5.133 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1509, allocations: 0 / 471.9 MB, free: 5.133 MB / 446.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.0006122/0.1515, allocations: 361.4 kB / 472.3 MB, free: 4.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1515, allocations: 8.031 kB / 472.3 MB, free: 4.742 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.1516, allocations: 16.84 kB / 472.3 MB, free: 4.727 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.1519, allocations: 158 kB / 472.5 MB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.1519, allocations: 4.375 kB / 472.5 MB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.1519, allocations: 8.125 kB / 472.5 MB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.1521, allocations: 61.59 kB / 472.5 MB, free: 4.469 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.1521, allocations: 0 / 472.5 MB, free: 4.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1521, allocations: 8 kB / 472.6 MB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1521, allocations: 0 / 472.6 MB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.749e-05/0.1522, allocations: 19.98 kB / 472.6 MB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.1527, allocations: 244.5 kB / 472.8 MB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.1529, allocations: 58.55 kB / 472.9 MB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.451e-05/0.1529, allocations: 20.84 kB / 472.9 MB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.153, allocations: 8 kB / 472.9 MB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.1531, allocations: 59.39 kB / 473 MB, free: 4.004 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.1531, allocations: 4 kB / 473 MB, free: 4 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007132/0.1539, allocations: 189.3 kB / 473.1 MB, free: 3.809 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.1539, allocations: 51.41 kB / 473.2 MB, free: 3.746 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.1542, allocations: 263.7 kB / 473.5 MB, free: 3.477 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.1542, allocations: 25.7 kB / 473.5 MB, free: 3.445 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.748e-05/0.1543, allocations: 112.1 kB / 473.6 MB, free: 3.332 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.1544, allocations: 35.72 kB / 473.6 MB, free: 3.297 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.1544, allocations: 21.72 kB / 473.6 MB, free: 3.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.1547, allocations: 334.8 kB / 474 MB, free: 2.934 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-05/0.1547, allocations: 20 kB / 474 MB, free: 2.914 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.1548, allocations: 45.64 kB / 474 MB, free: 2.863 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.1549, allocations: 57.77 kB / 474.1 MB, free: 2.801 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1549, allocations: 0 / 474.1 MB, free: 2.801 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002232/0.1552, allocations: 113.5 kB / 474.2 MB, free: 2.684 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.1552, allocations: 5.906 kB / 474.2 MB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1552, allocations: 0 / 474.2 MB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.1552, allocations: 3.938 kB / 474.2 MB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1553, allocations: 19.98 kB / 474.2 MB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1553, allocations: 4.031 kB / 474.2 MB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.1554, allocations: 8 kB / 474.2 MB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1554, allocations: 384 / 474.2 MB, free: 2.645 MB / 446.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.0001639/0.1555, allocations: 141.7 kB / 474.4 MB, free: 2.496 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.1556, allocations: 15.91 kB / 474.4 MB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.1559, allocations: 123.1 kB / 474.5 MB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.1559, allocations: 3.984 kB / 474.5 MB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.1559, allocations: 4 kB / 474.5 MB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1559, allocations: 0 / 474.5 MB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005407/0.1564, allocations: 362.9 kB / 474.9 MB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1564, allocations: 0 / 474.9 MB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.1565, allocations: 8 kB / 474.9 MB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1565, allocations: 3.984 kB / 474.9 MB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1565, allocations: 4 kB / 474.9 MB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1565, allocations: 3.938 kB / 474.9 MB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.1565, allocations: 3.938 kB / 474.9 MB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.1568, allocations: 220.2 kB / 475.1 MB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.1568, allocations: 15.91 kB / 475.1 MB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.1569, allocations: 0 / 475.1 MB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.1569, allocations: 8.031 kB / 475.1 MB, free: 1.676 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.157, allocations: 11.92 kB / 475.2 MB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.157, allocations: 4 kB / 475.2 MB, free: 1.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002357/0.1572, allocations: 207.3 kB / 475.4 MB, free: 1.457 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1572, allocations: 0 / 475.4 MB, free: 1.457 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1575, allocations: 23.94 kB / 475.4 MB, free: 1.434 MB / 446.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.002009/0.1595, allocations: 0.496 MB / 475.9 MB, free: 0.9453 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1597, allocations: 59.92 kB / 475.9 MB, free: 0.8867 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1597, allocations: 4 kB / 475.9 MB, free: 0.8828 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.852e-05/0.1598, allocations: 23.98 kB / 476 MB, free: 0.8594 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1601, allocations: 31.91 kB / 476 MB, free: 0.8281 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.1608, allocations: 299.6 kB / 476.3 MB, free: 0.5039 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.1609, allocations: 101.8 kB / 476.4 MB, free: 392 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.836e-05/0.1609, allocations: 12.48 kB / 476.4 MB, free: 380 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.161, allocations: 16.5 kB / 476.4 MB, free: 360 kB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.161, allocations: 0 / 476.4 MB, free: 360 kB / 446.1 MB Notification: Performance of Templates: time 0.2579/0.4189, allocations: 1.82 MB / 478.2 MB, free: 49.97 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.301875067059882]