Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002414/0.00242, allocations: 182.1 kB / 16.4 MB, free: 5.754 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.218/2.218, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001149/0.001148, allocations: 91.34 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.5238/0.5238, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.0004858, allocations: 16 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1234, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002868/0.1263, allocations: 1.46 MB / 491.7 MB, free: 9.758 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.1294, allocations: 1.367 MB / 493 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.1296, allocations: 4 kB / 493.1 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.1299, allocations: 47.81 kB / 493.1 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.1303, allocations: 75.72 kB / 493.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.1308, allocations: 123.7 kB / 493.3 MB, free: 8.133 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.1311, allocations: 107.8 kB / 493.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.231e-05/0.1312, allocations: 17.53 kB / 493.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.1314, allocations: 63.7 kB / 493.5 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.1317, allocations: 63.7 kB / 493.5 MB, free: 7.879 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.1317, allocations: 0 / 493.5 MB, free: 7.879 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.1319, allocations: 43.91 kB / 493.6 MB, free: 7.836 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.379e-05/0.132, allocations: 31.84 kB / 493.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.204e-05/0.1321, allocations: 41.64 kB / 493.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.1324, allocations: 132 kB / 493.8 MB, free: 7.629 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1324, allocations: 0 / 493.8 MB, free: 7.629 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1324, allocations: 0 / 493.8 MB, free: 7.629 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1324, allocations: 0 / 493.8 MB, free: 7.629 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007999/0.1332, allocations: 454.6 kB / 494.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.1333, allocations: 12.02 kB / 494.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.1334, allocations: 19.8 kB / 494.3 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.1338, allocations: 230.7 kB / 494.5 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.1338, allocations: 7.938 kB / 494.5 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1339, allocations: 4 kB / 494.5 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.1342, allocations: 97.08 kB / 494.6 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1342, allocations: 0 / 494.6 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.1342, allocations: 4 kB / 494.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1343, allocations: 11.89 kB / 494.6 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.1344, allocations: 27.92 kB / 494.6 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.1348, allocations: 214.5 kB / 494.8 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.1352, allocations: 109.3 kB / 494.9 MB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.1353, allocations: 3.984 kB / 495 MB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003794/0.1356, allocations: 109.1 kB / 495.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.335e-06/0.1357, allocations: 4 kB / 495.1 MB, free: 6.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006738/0.1364, allocations: 161.4 kB / 495.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.175e-05/0.1365, allocations: 140.5 kB / 495.4 MB, free: 5.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.1368, allocations: 207.8 kB / 495.6 MB, free: 5.605 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.1368, allocations: 33.64 kB / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.966e-05/0.137, allocations: 170.6 kB / 495.8 MB, free: 5.398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.137, allocations: 23.7 kB / 495.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-06/0.137, allocations: 0 / 495.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1372, allocations: 326.8 kB / 496.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1373, allocations: 23.98 kB / 496.1 MB, free: 5.023 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.1375, allocations: 65.14 kB / 496.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1377, allocations: 40.52 kB / 496.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/0.1377, allocations: 0 / 496.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004167/0.1382, allocations: 125.5 kB / 496.4 MB, free: 4.773 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1382, allocations: 4 kB / 496.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1382, allocations: 7.938 kB / 496.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1382, allocations: 0 / 496.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.1384, allocations: 24 kB / 496.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1385, allocations: 7.938 kB / 496.4 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.1386, allocations: 15.91 kB / 496.4 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1386, allocations: 8 kB / 496.4 MB, free: 4.707 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001585/0.1388, allocations: 129.8 kB / 496.5 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.1389, allocations: 15.81 kB / 496.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.757e-05/0.139, allocations: 21 kB / 496.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.139, allocations: 3.984 kB / 496.6 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.139, allocations: 0 / 496.6 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.139, allocations: 7.953 kB / 496.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.1393, allocations: 205.6 kB / 496.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1393, allocations: 8 kB / 496.8 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.837e-05/0.1394, allocations: 4 kB / 496.8 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.108e-05/0.1394, allocations: 7.938 kB / 496.8 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.1394, allocations: 3.984 kB / 496.8 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1394, allocations: 0 / 496.8 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1394, allocations: 0 / 496.8 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.1399, allocations: 187.4 kB / 497 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.266e-05/0.14, allocations: 100.8 kB / 497.1 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.1401, allocations: 4 kB / 497.1 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.1402, allocations: 7.984 kB / 497.1 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.1403, allocations: 15.94 kB / 497.1 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.1403, allocations: 4 kB / 497.1 MB, free: 3.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002329/0.1406, allocations: 161.4 kB / 497.3 MB, free: 3.734 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1406, allocations: 0 / 497.3 MB, free: 3.734 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003811/0.141, allocations: 39.89 kB / 497.3 MB, free: 3.695 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001319/0.1423, allocations: 468.4 kB / 497.8 MB, free: 3.285 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004146/0.1428, allocations: 83.95 kB / 497.9 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1428, allocations: 0 / 497.9 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.143, allocations: 48.3 kB / 497.9 MB, free: 3.156 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.1435, allocations: 51.88 kB / 498 MB, free: 3.105 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007508/0.1443, allocations: 308.8 kB / 498.3 MB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.1446, allocations: 0.7204 MB / 499 MB, free: 2.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.1447, allocations: 27.42 kB / 499 MB, free: 1.996 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1448, allocations: 0 / 499 MB, free: 1.996 MB / 378.7 MB Notification: Performance of Templates: time 0.3032/0.448, allocations: 2.685 MB / 0.4899 GB, free: 42.25 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches