Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002297/0.002303, allocations: 189.2 kB / 16.4 MB, free: 5.625 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.211/2.211, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001177/0.001177, allocations: 94.86 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2981/0.2981, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006444/0.0006446, allocations: 15.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1241, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003022/0.1271, allocations: 1.584 MB / 491.8 MB, free: 7.742 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.1291, allocations: 0.7655 MB / 492.6 MB, free: 6.969 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1293, allocations: 0 / 492.6 MB, free: 6.969 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.1296, allocations: 39.77 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.1299, allocations: 39.89 kB / 492.7 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004189/0.1303, allocations: 91.75 kB / 492.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.1305, allocations: 87.78 kB / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.1307, allocations: 33.47 kB / 492.9 MB, free: 6.676 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1308, allocations: 43.78 kB / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.983e-05/0.1309, allocations: 35.78 kB / 492.9 MB, free: 6.598 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.131, allocations: 4 kB / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.1311, allocations: 31.92 kB / 493 MB, free: 6.562 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.1312, allocations: 19.91 kB / 493 MB, free: 6.543 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.454e-05/0.1313, allocations: 45.64 kB / 493 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.1315, allocations: 100.1 kB / 493.1 MB, free: 6.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.1315, allocations: 7.938 kB / 493.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1315, allocations: 0 / 493.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1315, allocations: 0 / 493.1 MB, free: 6.387 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007719/0.1323, allocations: 456.5 kB / 493.6 MB, free: 5.887 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1324, allocations: 8.031 kB / 493.6 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.696e-05/0.1325, allocations: 23.77 kB / 493.6 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.1328, allocations: 214.8 kB / 493.8 MB, free: 5.605 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.1328, allocations: 11.94 kB / 493.8 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.1329, allocations: 8 kB / 493.9 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.1332, allocations: 100.2 kB / 493.9 MB, free: 5.473 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1332, allocations: 4 kB / 494 MB, free: 5.469 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.1333, allocations: 0 / 494 MB, free: 5.469 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1333, allocations: 3.984 kB / 494 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.1336, allocations: 63.86 kB / 494 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008272/0.1344, allocations: 0.5126 MB / 494.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.1349, allocations: 82.66 kB / 494.6 MB, free: 4.742 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.1349, allocations: 7.953 kB / 494.6 MB, free: 4.734 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000326/0.1353, allocations: 95.25 kB / 494.7 MB, free: 4.629 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 3.537e-06/0.1353, allocations: 0 / 494.7 MB, free: 4.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006154/0.1359, allocations: 145.4 kB / 494.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.136, allocations: 55.41 kB / 494.9 MB, free: 4.414 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.1363, allocations: 187.5 kB / 495.1 MB, free: 4.219 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.1363, allocations: 25.7 kB / 495.1 MB, free: 4.188 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1364, allocations: 178.4 kB / 495.3 MB, free: 4.012 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.1365, allocations: 27.64 kB / 495.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/0.1365, allocations: 8 kB / 495.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1367, allocations: 310.8 kB / 495.6 MB, free: 3.664 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.1368, allocations: 27.98 kB / 495.7 MB, free: 3.637 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.137, allocations: 72.27 kB / 495.7 MB, free: 3.551 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.1372, allocations: 35.92 kB / 495.8 MB, free: 3.516 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1372, allocations: 0 / 495.8 MB, free: 3.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004478/0.1377, allocations: 141.5 kB / 495.9 MB, free: 3.371 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.1377, allocations: 7.438 kB / 495.9 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.1377, allocations: 4 kB / 495.9 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1378, allocations: 4 kB / 495.9 MB, free: 3.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.138, allocations: 23.98 kB / 495.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.138, allocations: 0 / 495.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.1381, allocations: 15.94 kB / 496 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.1381, allocations: 4.469 kB / 496 MB, free: 3.316 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.0001586/0.1383, allocations: 137.8 kB / 496.1 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.1384, allocations: 23.7 kB / 496.1 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.175e-05/0.1384, allocations: 13.41 kB / 496.1 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.1385, allocations: 0 / 496.1 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1385, allocations: 7.922 kB / 496.1 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1385, allocations: 0 / 496.1 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.1388, allocations: 209.8 kB / 496.3 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1388, allocations: 4 kB / 496.3 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.1389, allocations: 8 kB / 496.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1389, allocations: 4 kB / 496.4 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.139, allocations: 7.953 kB / 496.4 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.139, allocations: 3.984 kB / 496.4 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.139, allocations: 0 / 496.4 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000614/0.1396, allocations: 192.8 kB / 496.6 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.158e-05/0.1397, allocations: 92.89 kB / 496.6 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.1398, allocations: 7.984 kB / 496.7 MB, free: 2.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.1399, allocations: 11.95 kB / 496.7 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.14, allocations: 7.984 kB / 496.7 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.14, allocations: 4 kB / 496.7 MB, free: 2.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001732/0.1402, allocations: 137.2 kB / 496.8 MB, free: 2.363 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1402, allocations: 0 / 496.8 MB, free: 2.363 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003399/0.1405, allocations: 24 kB / 496.8 MB, free: 2.34 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (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.001244/0.1418, allocations: 424.1 kB / 497.3 MB, free: 1.969 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004136/0.1422, allocations: 87.83 kB / 497.3 MB, free: 1.883 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1423, allocations: 0 / 497.3 MB, free: 1.883 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.1424, allocations: 40.23 kB / 497.4 MB, free: 1.844 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.1428, allocations: 24.16 kB / 497.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000782/0.1436, allocations: 327.5 kB / 497.7 MB, free: 1.473 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.144, allocations: 0.7123 MB / 498.4 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-05/0.1441, allocations: 23.42 kB / 498.5 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.1441, allocations: 384 / 498.5 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of Templates: time 0.006147/0.1503, allocations: 2.127 MB / 0.4889 GB, free: 14.58 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches