Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001481/0.001481, allocations: 182.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.374/2.374, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 97.48 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5077/0.5077, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005488/0.0005489, allocations: 16 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1331, allocations: 58.86 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002674/0.1359, allocations: 1.39 MB / 491.6 MB, free: 9.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.1386, allocations: 1.301 MB / 492.9 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.751e-05/0.1387, allocations: 3.938 kB / 492.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.139, allocations: 35.89 kB / 493 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.1393, allocations: 47.83 kB / 493 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.1396, allocations: 71.78 kB / 493.1 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.1398, allocations: 55.86 kB / 493.1 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.14, allocations: 20.2 kB / 493.1 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.1401, allocations: 35.84 kB / 493.2 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1402, allocations: 31.84 kB / 493.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1403, allocations: 4 kB / 493.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.1404, allocations: 35.98 kB / 493.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.1405, allocations: 15.92 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.889e-05/0.1406, allocations: 37.64 kB / 493.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.1408, allocations: 88.08 kB / 493.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.1408, allocations: 4 kB / 493.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1408, allocations: 0 / 493.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1409, allocations: 0 / 493.4 MB, free: 8.023 MB / 378.7 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.0006339/0.1415, allocations: 394.9 kB / 493.8 MB, free: 7.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1416, allocations: 23.95 kB / 493.8 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.1416, allocations: 7.906 kB / 493.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.1419, allocations: 198.9 kB / 494 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.142, allocations: 4 kB / 494 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.142, allocations: 4 kB / 494 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.1422, allocations: 67.39 kB / 494.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1423, allocations: 3.953 kB / 494.1 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.1423, allocations: 3.938 kB / 494.1 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1423, allocations: 4 kB / 494.1 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1424, allocations: 19.98 kB / 494.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.1429, allocations: 277 kB / 494.4 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.1431, allocations: 58.61 kB / 494.4 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.1432, allocations: 7.953 kB / 494.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.1434, allocations: 67.52 kB / 494.5 MB, free: 6.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.555e-06/0.1434, allocations: 0 / 494.5 MB, free: 6.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007476/0.1442, allocations: 173.1 kB / 494.7 MB, free: 6.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.1443, allocations: 81.05 kB / 494.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.1445, allocations: 149.8 kB / 494.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.1445, allocations: 29.7 kB / 494.9 MB, free: 6.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.648e-05/0.1446, allocations: 154.6 kB / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.1446, allocations: 27.7 kB / 495.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.1447, allocations: 4 kB / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1448, allocations: 318.8 kB / 495.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.602e-05/0.1449, allocations: 16 kB / 495.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.145, allocations: 42.56 kB / 495.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.1451, allocations: 31.88 kB / 495.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1451, allocations: 4.031 kB / 495.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003076/0.1455, allocations: 85.69 kB / 495.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.1455, allocations: 8 kB / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.1455, allocations: 0 / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1455, allocations: 3.984 kB / 495.6 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.1457, allocations: 23.92 kB / 495.6 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1457, allocations: 0 / 495.6 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.691e-05/0.1458, allocations: 384 / 495.6 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1458, allocations: 7.938 kB / 495.6 MB, free: 5.531 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.146, allocations: 141.4 kB / 495.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.146, allocations: 7.906 kB / 495.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.431e-05/0.1461, allocations: 12.72 kB / 495.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/0.1461, allocations: 4 kB / 495.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1461, allocations: 0 / 495.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1461, allocations: 0 / 495.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006307/0.1468, allocations: 395.2 kB / 496.2 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1468, allocations: 4.031 kB / 496.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.1469, allocations: 8 kB / 496.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.1469, allocations: 0 / 496.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.1469, allocations: 8 kB / 496.2 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.1469, allocations: 3.938 kB / 496.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1469, allocations: 0 / 496.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.1473, allocations: 218 kB / 496.4 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.1474, allocations: 85.02 kB / 496.5 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.1474, allocations: 0 / 496.5 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.1475, allocations: 11.98 kB / 496.5 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.1476, allocations: 4.188 kB / 496.5 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.1476, allocations: 4 kB / 496.5 MB, free: 4.535 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.1478, allocations: 126.6 kB / 496.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1478, allocations: 0 / 496.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003863/0.1482, allocations: 31.98 kB / 496.7 MB, free: 4.383 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001503/0.1497, allocations: 0.4952 MB / 497.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003099/0.15, allocations: 55.97 kB / 497.2 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1501, allocations: 0 / 497.2 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1502, allocations: 31.88 kB / 497.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.1506, allocations: 31.95 kB / 497.3 MB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005749/0.1512, allocations: 231.9 kB / 497.5 MB, free: 3.555 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1515, allocations: 0.7004 MB / 498.2 MB, free: 2.828 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.1516, allocations: 15.44 kB / 498.2 MB, free: 2.816 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1516, allocations: 0 / 498.2 MB, free: 2.816 MB / 378.7 MB Notification: Performance of Templates: time 0.005929/0.1575, allocations: 2.052 MB / 0.4886 GB, free: 0.7656 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches