Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001563, allocations: 188.9 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.098/2.098, 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.001141/0.00114, allocations: 98.78 kB / 270.9 MB, free: 13.38 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.3058/0.3058, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004892/0.0004893, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1252, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002523/0.1277, allocations: 1.379 MB / 491.6 MB, free: 7.945 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1295, allocations: 0.7344 MB / 492.3 MB, free: 7.203 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.1296, allocations: 3.938 kB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.1299, allocations: 31.84 kB / 492.4 MB, free: 7.168 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.1301, allocations: 43.88 kB / 492.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.1305, allocations: 75.77 kB / 492.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.1307, allocations: 55.88 kB / 492.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.933e-05/0.1308, allocations: 16.22 kB / 492.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.1309, allocations: 35.84 kB / 492.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.131, allocations: 31.84 kB / 492.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.131, allocations: 0 / 492.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1312, allocations: 27.94 kB / 492.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.1312, allocations: 23.91 kB / 492.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.1313, allocations: 41.62 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.1315, allocations: 88.09 kB / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1315, allocations: 0 / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1315, allocations: 4 kB / 492.8 MB, free: 6.727 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1315, allocations: 0 / 492.8 MB, free: 6.727 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006118/0.1322, allocations: 394.9 kB / 493.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1322, allocations: 12.02 kB / 493.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.1323, allocations: 23.75 kB / 493.2 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.1326, allocations: 207.6 kB / 493.4 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.1326, allocations: 0 / 493.4 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.1326, allocations: 4 kB / 493.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1328, allocations: 61.61 kB / 493.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1329, allocations: 3.984 kB / 493.5 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1329, allocations: 0 / 493.5 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1329, allocations: 0 / 493.5 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.133, allocations: 23.94 kB / 493.5 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.1335, allocations: 277 kB / 493.8 MB, free: 5.598 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.1337, allocations: 62.62 kB / 493.9 MB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1338, allocations: 0 / 493.9 MB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.134, allocations: 67.5 kB / 493.9 MB, free: 5.449 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.134, allocations: 0 / 493.9 MB, free: 5.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007282/0.1347, allocations: 173.2 kB / 494.1 MB, free: 5.273 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.1348, allocations: 55.41 kB / 494.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.1351, allocations: 207.3 kB / 494.4 MB, free: 4.996 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.1351, allocations: 25.7 kB / 494.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.519e-05/0.1352, allocations: 170.5 kB / 494.5 MB, free: 4.797 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.1353, allocations: 15.81 kB / 494.6 MB, free: 4.781 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.1353, allocations: 0 / 494.6 MB, free: 4.781 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1354, allocations: 318.8 kB / 494.9 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.959e-05/0.1356, allocations: 19.94 kB / 494.9 MB, free: 4.441 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1357, allocations: 41.64 kB / 494.9 MB, free: 4.395 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1358, allocations: 31.97 kB / 495 MB, free: 4.363 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1358, allocations: 0 / 495 MB, free: 4.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002797/0.1361, allocations: 89.59 kB / 495 MB, free: 4.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1361, allocations: 7.938 kB / 495.1 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1361, allocations: 0 / 495.1 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1362, allocations: 3.953 kB / 495.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.1363, allocations: 23.92 kB / 495.1 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1363, allocations: 0 / 495.1 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.706e-05/0.1364, allocations: 8.031 kB / 495.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1365, allocations: 4 kB / 495.1 MB, free: 4.223 MB / 330.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.0001346/0.1366, allocations: 125.8 kB / 495.2 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.1366, allocations: 7.906 kB / 495.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.1367, allocations: 13.41 kB / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.1367, allocations: 7.953 kB / 495.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1367, allocations: 0 / 495.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1367, allocations: 3.984 kB / 495.2 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006421/0.1374, allocations: 399.2 kB / 495.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1374, allocations: 0 / 495.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.133e-05/0.1375, allocations: 8 kB / 495.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1375, allocations: 7.891 kB / 495.7 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1375, allocations: 4 kB / 495.7 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1375, allocations: 4 kB / 495.7 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1376, allocations: 3.984 kB / 495.7 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.1379, allocations: 210 kB / 495.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.168e-05/0.138, allocations: 92.88 kB / 496 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.138, allocations: 0 / 496 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.1382, allocations: 11.98 kB / 496 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.1382, allocations: 7.984 kB / 496 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.1382, allocations: 0 / 496 MB, free: 3.219 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001868/0.1384, allocations: 156.9 kB / 496.1 MB, free: 3.066 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1385, allocations: 0 / 496.1 MB, free: 3.066 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003634/0.1388, allocations: 23.98 kB / 496.2 MB, free: 3.043 MB / 330.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.001415/0.1403, allocations: 487.7 kB / 496.6 MB, free: 2.617 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.1405, allocations: 51.98 kB / 496.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1406, allocations: 0 / 496.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1407, allocations: 35.91 kB / 496.7 MB, free: 2.531 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.1411, allocations: 27.97 kB / 496.7 MB, free: 2.504 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.1417, allocations: 272.2 kB / 497 MB, free: 2.203 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.1421, allocations: 0.7043 MB / 497.7 MB, free: 1.473 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.1422, allocations: 23.42 kB / 497.7 MB, free: 1.449 MB / 330.7 MB Notification: Performance of SimCode: time 2.745e-06/0.1422, allocations: 4 kB / 497.7 MB, free: 1.445 MB / 330.7 MB Notification: Performance of Templates: time 0.005574/0.1478, allocations: 1.898 MB / 499.6 MB, free: 15.55 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches