Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.001683/0.001683, allocations: 78.17 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.001779/0.001779, allocations: 163.1 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.479/1.479, allocations: 158.6 MB / 185.5 MB, free: 6.215 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.2406/0.2406, allocations: 32.37 MB / 270.1 MB, free: 2.707 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") [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.002289/0.002289, allocations: 75.88 kB / 407.8 MB, free: 5.465 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1423, allocations: 61.04 MB / 468.9 MB, free: 8.234 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003517/0.1458, allocations: 1.676 MB / 470.5 MB, free: 6.543 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1472, allocations: 0.7765 MB / 471.3 MB, free: 5.758 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.755e-05/0.1473, allocations: 4 kB / 471.3 MB, free: 5.754 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.1476, allocations: 43.77 kB / 471.4 MB, free: 5.711 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.1478, allocations: 51.75 kB / 471.4 MB, free: 5.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.1481, allocations: 87.77 kB / 471.5 MB, free: 5.574 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.1483, allocations: 99.62 kB / 471.6 MB, free: 5.477 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1484, allocations: 4.234 kB / 471.6 MB, free: 5.473 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.397e-05/0.1484, allocations: 43.78 kB / 471.6 MB, free: 5.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.344e-05/0.1485, allocations: 31.84 kB / 471.7 MB, free: 5.398 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.1486, allocations: 4 kB / 471.7 MB, free: 5.395 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-05/0.1487, allocations: 43.98 kB / 471.7 MB, free: 5.352 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.623e-05/0.1487, allocations: 27.84 kB / 471.7 MB, free: 5.324 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.1488, allocations: 19.88 kB / 471.8 MB, free: 5.305 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.149, allocations: 111.5 kB / 471.9 MB, free: 5.195 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.149, allocations: 0 / 471.9 MB, free: 5.195 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.149, allocations: 0 / 471.9 MB, free: 5.195 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.149, allocations: 0 / 471.9 MB, free: 5.195 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.000589/0.1496, allocations: 337.6 kB / 472.2 MB, free: 4.836 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1496, allocations: 12.03 kB / 472.2 MB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.1497, allocations: 12.84 kB / 472.2 MB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.15, allocations: 150.4 kB / 472.4 MB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.15, allocations: 4.375 kB / 472.4 MB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.15, allocations: 4.125 kB / 472.4 MB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1502, allocations: 61.61 kB / 472.4 MB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1502, allocations: 0 / 472.4 MB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1502, allocations: 3.984 kB / 472.4 MB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1502, allocations: 0 / 472.4 MB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.979e-05/0.1503, allocations: 19.98 kB / 472.5 MB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.1506, allocations: 232.5 kB / 472.7 MB, free: 4.285 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.1508, allocations: 62.61 kB / 472.7 MB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.1509, allocations: 20.86 kB / 472.8 MB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.1509, allocations: 0 / 472.8 MB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.1511, allocations: 71.38 kB / 472.8 MB, free: 4.109 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1511, allocations: 0 / 472.8 MB, free: 4.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005808/0.1516, allocations: 177.3 kB / 473 MB, free: 3.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1517, allocations: 51.41 kB / 473.1 MB, free: 3.867 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.1519, allocations: 182 kB / 473.2 MB, free: 3.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.1519, allocations: 29.7 kB / 473.3 MB, free: 3.645 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.171e-05/0.152, allocations: 104.1 kB / 473.4 MB, free: 3.539 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.152, allocations: 27.8 kB / 473.4 MB, free: 3.512 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.152, allocations: 21.72 kB / 473.4 MB, free: 3.484 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1522, allocations: 326.8 kB / 473.7 MB, free: 3.156 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.1523, allocations: 19.98 kB / 473.8 MB, free: 3.137 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.1523, allocations: 41.64 kB / 473.8 MB, free: 3.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.1525, allocations: 69.75 kB / 473.9 MB, free: 3.016 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1525, allocations: 0 / 473.9 MB, free: 3.016 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001967/0.1527, allocations: 105.6 kB / 474 MB, free: 2.906 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1527, allocations: 5.906 kB / 474 MB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1527, allocations: 0 / 474 MB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1527, allocations: 7.875 kB / 474 MB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.437e-05/0.1528, allocations: 19.98 kB / 474 MB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1528, allocations: 0 / 474 MB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.1528, allocations: 3.938 kB / 474 MB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1529, allocations: 4.375 kB / 474 MB, free: 2.867 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.0001296/0.153, allocations: 133.7 kB / 474.1 MB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.153, allocations: 11.91 kB / 474.2 MB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.1533, allocations: 122.4 kB / 474.3 MB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1533, allocations: 4 kB / 474.3 MB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1533, allocations: 4 kB / 474.3 MB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1533, allocations: 0 / 474.3 MB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.1538, allocations: 346.9 kB / 474.6 MB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1538, allocations: 0 / 474.6 MB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.1538, allocations: 8 kB / 474.6 MB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1538, allocations: 4 kB / 474.6 MB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1538, allocations: 0 / 474.6 MB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1538, allocations: 0 / 474.6 MB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1538, allocations: 7.969 kB / 474.6 MB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.1541, allocations: 216.3 kB / 474.8 MB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.1541, allocations: 11.91 kB / 474.9 MB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.1541, allocations: 0 / 474.9 MB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.1542, allocations: 4 kB / 474.9 MB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.1542, allocations: 15.92 kB / 474.9 MB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1543, allocations: 4 kB / 474.9 MB, free: 1.918 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.1544, allocations: 135.2 kB / 475 MB, free: 1.785 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1544, allocations: 0 / 475 MB, free: 1.785 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1546, allocations: 20 kB / 475 MB, free: 1.766 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.001902/0.1565, allocations: 0.4998 MB / 475.5 MB, free: 1.277 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.1567, allocations: 59.98 kB / 475.6 MB, free: 1.219 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1567, allocations: 64 / 475.6 MB, free: 1.219 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.799e-05/0.1568, allocations: 31.92 kB / 475.6 MB, free: 1.188 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.1572, allocations: 27.97 kB / 475.7 MB, free: 1.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/0.1577, allocations: 223.1 kB / 475.9 MB, free: 0.9102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.1578, allocations: 89.44 kB / 476 MB, free: 0.8047 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.562e-05/0.1579, allocations: 16.55 kB / 476 MB, free: 0.7852 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.1579, allocations: 20.44 kB / 476 MB, free: 0.7656 MB / 446.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1579, allocations: 0 / 476 MB, free: 0.7656 MB / 446.1 MB Notification: Performance of Templates: time 0.2766/0.4345, allocations: 1.794 MB / 477.8 MB, free: 49.97 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.213544398080558]