Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001646/0.001651, allocations: 182.5 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.007/2.007, 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.001203/0.001203, allocations: 97.83 kB / 270.9 MB, free: 8.359 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.5048/0.5048, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004747, allocations: 23.98 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1303, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002652/0.133, allocations: 1.394 MB / 491.6 MB, free: 9.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1348, allocations: 0.7266 MB / 492.3 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.107e-05/0.1349, allocations: 0 / 492.3 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.1352, allocations: 39.77 kB / 492.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.1355, allocations: 47.88 kB / 492.4 MB, free: 9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.1359, allocations: 75.78 kB / 492.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1361, allocations: 59.91 kB / 492.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.1362, allocations: 12.2 kB / 492.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.1363, allocations: 43.78 kB / 492.6 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.428e-05/0.1364, allocations: 31.86 kB / 492.6 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.1365, allocations: 4 kB / 492.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1366, allocations: 27.92 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.1366, allocations: 27.91 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.1367, allocations: 41.64 kB / 492.7 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.1369, allocations: 100.1 kB / 492.8 MB, free: 8.578 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.137, allocations: 0 / 492.8 MB, free: 8.578 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.137, allocations: 0 / 492.8 MB, free: 8.578 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.137, allocations: 0 / 492.8 MB, free: 8.578 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.0006535/0.1376, allocations: 430.6 kB / 493.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1377, allocations: 12.02 kB / 493.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.1378, allocations: 11.81 kB / 493.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.1381, allocations: 210.8 kB / 493.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1381, allocations: 0 / 493.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.1381, allocations: 7.984 kB / 493.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1383, allocations: 53.67 kB / 493.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.1384, allocations: 3.906 kB / 493.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1384, allocations: 0 / 493.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1384, allocations: 7.953 kB / 493.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1385, allocations: 19.98 kB / 493.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.139, allocations: 292.9 kB / 493.9 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.1393, allocations: 58.67 kB / 493.9 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.1393, allocations: 0 / 493.9 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.1396, allocations: 71.47 kB / 494 MB, free: 7.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.1396, allocations: 0 / 494 MB, free: 7.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008048/0.1404, allocations: 185 kB / 494.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.1405, allocations: 55.41 kB / 494.2 MB, free: 7.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.1408, allocations: 254.5 kB / 494.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.1409, allocations: 29.7 kB / 494.5 MB, free: 6.707 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.141, allocations: 182.3 kB / 494.7 MB, free: 6.527 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.1411, allocations: 19.8 kB / 494.7 MB, free: 6.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.1411, allocations: 4 kB / 494.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1412, allocations: 314.8 kB / 495 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.932e-05/0.1413, allocations: 19.98 kB / 495 MB, free: 6.168 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.1414, allocations: 37.7 kB / 495.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.905e-05/0.1416, allocations: 20 kB / 495.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1416, allocations: 4 kB / 495.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002923/0.1419, allocations: 101.5 kB / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.1419, allocations: 7.953 kB / 495.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1419, allocations: 4 kB / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1419, allocations: 3.938 kB / 495.2 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.1421, allocations: 12 kB / 495.2 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.1421, allocations: 0 / 495.2 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.454e-05/0.1422, allocations: 7.984 kB / 495.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.1422, allocations: 4 kB / 495.2 MB, free: 5.957 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.0001577/0.1424, allocations: 141.8 kB / 495.4 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.1425, allocations: 11.81 kB / 495.4 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.057e-05/0.1425, allocations: 25.34 kB / 495.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.1426, allocations: 4 kB / 495.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1426, allocations: 0 / 495.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1426, allocations: 3.984 kB / 495.4 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006651/0.1433, allocations: 407.2 kB / 495.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1433, allocations: 4.031 kB / 495.8 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.435e-05/0.1434, allocations: 11.98 kB / 495.8 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.1434, allocations: 0 / 495.8 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.1434, allocations: 0 / 495.8 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.423e-06/0.1434, allocations: 4 kB / 495.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1434, allocations: 0 / 495.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.1438, allocations: 221.8 kB / 496.1 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.332e-05/0.1439, allocations: 96.91 kB / 496.1 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.144, allocations: 4 kB / 496.2 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.1441, allocations: 0 / 496.2 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.1442, allocations: 7.984 kB / 496.2 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.1442, allocations: 8 kB / 496.2 MB, free: 4.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002817/0.1445, allocations: 196 kB / 496.4 MB, free: 4.719 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1445, allocations: 4.188 kB / 496.4 MB, free: 4.715 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003856/0.1449, allocations: 27.98 kB / 496.4 MB, free: 4.688 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.001398/0.1463, allocations: 476.1 kB / 496.9 MB, free: 4.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003152/0.1467, allocations: 51.92 kB / 496.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.1467, allocations: 4.062 kB / 496.9 MB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.1468, allocations: 27.98 kB / 496.9 MB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.1472, allocations: 31.67 kB / 497 MB, free: 4.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007972/0.148, allocations: 336.6 kB / 497.3 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.1484, allocations: 0.7199 MB / 498 MB, free: 3.051 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.056e-05/0.1485, allocations: 19.44 kB / 498 MB, free: 3.031 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1485, allocations: 0 / 498 MB, free: 3.031 MB / 378.7 MB Notification: Performance of Templates: time 0.005734/0.1543, allocations: 2.023 MB / 0.4883 GB, free: 1.008 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches