Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 111.6 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001/0.001001, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2144/0.2144, allocations: 43.51 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 69.97 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1337, allocations: 57.79 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.004551/0.1383, allocations: 1.692 MB / 443.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.1401, allocations: 0.8 MB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1403, allocations: 4 kB / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.1408, allocations: 43.75 kB / 444.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.1412, allocations: 51.77 kB / 444.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.1417, allocations: 83.77 kB / 444.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.1419, allocations: 91.69 kB / 444.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.1421, allocations: 12.23 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.1422, allocations: 43.78 kB / 444.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.1424, allocations: 31.84 kB / 444.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.1424, allocations: 4 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.1426, allocations: 47.92 kB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.685e-05/0.1426, allocations: 19.92 kB / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.999e-05/0.1427, allocations: 35.73 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.143, allocations: 107.6 kB / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1431, allocations: 0 / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1431, allocations: 0 / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1431, allocations: 0 / 445 MB, free: 3.059 MB / 318.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.0006551/0.1437, allocations: 418.9 kB / 445.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.1438, allocations: 15.83 kB / 445.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.403e-05/0.1439, allocations: 12.84 kB / 445.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.1443, allocations: 204.9 kB / 445.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.1443, allocations: 8.375 kB / 445.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.1444, allocations: 4.125 kB / 445.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.1446, allocations: 57.67 kB / 445.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1446, allocations: 4 kB / 445.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1446, allocations: 4 kB / 445.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1446, allocations: 0 / 445.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.1447, allocations: 15.98 kB / 445.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.1452, allocations: 292.7 kB / 446.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.1454, allocations: 58.67 kB / 446.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.658e-05/0.1455, allocations: 24.84 kB / 446.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.1455, allocations: 0 / 446.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.1457, allocations: 71.33 kB / 446.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.1457, allocations: 0 / 446.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000686/0.1464, allocations: 173.1 kB / 446.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.1465, allocations: 55.39 kB / 446.4 MB, free: 1.484 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.1467, allocations: 186.1 kB / 446.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.1467, allocations: 33.7 kB / 446.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.1468, allocations: 104.1 kB / 446.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.1468, allocations: 19.7 kB / 446.8 MB, free: 1.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/0.1469, allocations: 21.72 kB / 446.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.389e-05/0.147, allocations: 326.8 kB / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.399e-05/0.1471, allocations: 27.92 kB / 447.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.731e-05/0.1471, allocations: 33.7 kB / 447.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1473, allocations: 61.66 kB / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1473, allocations: 0 / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002548/0.1476, allocations: 105.6 kB / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.1476, allocations: 9.25 kB / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1476, allocations: 3.984 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.1477, allocations: 0 / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1478, allocations: 15.94 kB / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.1478, allocations: 8.016 kB / 447.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.568e-05/0.1479, allocations: 7.938 kB / 447.4 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1479, allocations: 4 kB / 447.4 MB, free: 496 kB / 318.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.0001134/0.148, allocations: 125.8 kB / 447.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.1481, allocations: 15.8 kB / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.27e-05/0.1481, allocations: 20.66 kB / 447.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1482, allocations: 0 / 447.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.1482, allocations: 384 / 447.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.1482, allocations: 3.938 kB / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.1487, allocations: 395.3 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.1487, allocations: 4 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.73e-05/0.1488, allocations: 11.98 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.1488, allocations: 0 / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.1488, allocations: 3.938 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1488, allocations: 7.938 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1489, allocations: 0 / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.1492, allocations: 204.3 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.1492, allocations: 85.02 kB / 448.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.1493, allocations: 7.922 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-05/0.1494, allocations: 4 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.1494, allocations: 4 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.1495, allocations: 7.984 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.1496, allocations: 139.2 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1496, allocations: 4 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004063/0.1501, allocations: 27.89 kB / 448.4 MB, free: 15.32 MB / 334.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 (8): * Single equations (assignments): 6 * 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.001722/0.1518, allocations: 475 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.1521, allocations: 55.98 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1521, allocations: 0 / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1522, allocations: 31.92 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.1528, allocations: 28.28 kB / 449 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007384/0.1535, allocations: 219.3 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.154, allocations: 0.7042 MB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.531e-05/0.1541, allocations: 16.88 kB / 449.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.1542, allocations: 11.44 kB / 449.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1542, allocations: 7.938 kB / 450 MB, free: 13.82 MB / 334.1 MB Notification: Performance of Templates: time 0.007059/0.1612, allocations: 1.69 MB / 451.6 MB, free: 12.14 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches