Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001607/0.001611, allocations: 188.8 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.083/2.083, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001255/0.001255, allocations: 98.8 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.2819/0.2819, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006429/0.0006432, allocations: 15.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.125, allocations: 58.86 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002735/0.1278, allocations: 1.379 MB / 491.6 MB, free: 7.941 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1297, allocations: 0.7306 MB / 492.3 MB, free: 7.203 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1299, allocations: 3.938 kB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.1303, allocations: 87.73 kB / 492.4 MB, free: 7.113 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.1306, allocations: 63.84 kB / 492.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.131, allocations: 80.47 kB / 492.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.1312, allocations: 75.83 kB / 492.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.903e-05/0.1313, allocations: 4.234 kB / 492.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.1314, allocations: 51.83 kB / 492.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1316, allocations: 43.83 kB / 492.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1316, allocations: 0 / 492.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.1318, allocations: 27.94 kB / 492.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.689e-05/0.1318, allocations: 23.91 kB / 492.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.017e-05/0.1319, allocations: 45.62 kB / 492.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.1321, allocations: 92.09 kB / 492.9 MB, free: 6.609 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1322, allocations: 0 / 492.9 MB, free: 6.609 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1322, allocations: 0 / 492.9 MB, free: 6.609 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1322, allocations: 4 kB / 492.9 MB, free: 6.605 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.0007147/0.1329, allocations: 406.8 kB / 493.3 MB, free: 6.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.133, allocations: 12.02 kB / 493.3 MB, free: 6.148 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.63e-05/0.133, allocations: 15.86 kB / 493.4 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.1334, allocations: 202.8 kB / 493.6 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.1334, allocations: 4 kB / 493.6 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.1335, allocations: 7.906 kB / 493.6 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.1337, allocations: 53.67 kB / 493.6 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1337, allocations: 4 kB / 493.6 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1337, allocations: 0 / 493.6 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.1337, allocations: 3.984 kB / 493.6 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.1339, allocations: 23.94 kB / 493.6 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004925/0.1344, allocations: 288.9 kB / 493.9 MB, free: 5.461 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.1346, allocations: 58.61 kB / 494 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.1347, allocations: 8 kB / 494 MB, free: 5.387 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.1349, allocations: 63.52 kB / 494.1 MB, free: 5.312 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.234e-06/0.1349, allocations: 0 / 494.1 MB, free: 5.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.000787/0.1357, allocations: 177.1 kB / 494.2 MB, free: 5.133 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.1358, allocations: 51.41 kB / 494.3 MB, free: 5.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.1361, allocations: 222.7 kB / 494.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.1362, allocations: 37.7 kB / 494.5 MB, free: 4.797 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1363, allocations: 162.6 kB / 494.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.1364, allocations: 27.64 kB / 494.7 MB, free: 4.609 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.1364, allocations: 0 / 494.7 MB, free: 4.609 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1365, allocations: 318.8 kB / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.624e-05/0.1367, allocations: 19.92 kB / 495.1 MB, free: 4.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1368, allocations: 41.64 kB / 495.1 MB, free: 4.223 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.1369, allocations: 28 kB / 495.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1369, allocations: 0 / 495.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003163/0.1372, allocations: 89.61 kB / 495.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1373, allocations: 7.938 kB / 495.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.1373, allocations: 4.375 kB / 495.2 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.1373, allocations: 7.938 kB / 495.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1375, allocations: 12 kB / 495.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1375, allocations: 4 kB / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.522e-05/0.1376, allocations: 8 kB / 495.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.1376, allocations: 8.031 kB / 495.3 MB, free: 4.051 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.0001629/0.1378, allocations: 126.9 kB / 495.4 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.1379, allocations: 19.75 kB / 495.4 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.873e-05/0.1379, allocations: 21.39 kB / 495.4 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.1379, allocations: 3.953 kB / 495.4 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.138, allocations: 0 / 495.4 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.138, allocations: 0 / 495.4 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000706/0.1387, allocations: 395.3 kB / 495.8 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.1387, allocations: 7.984 kB / 495.8 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-05/0.1388, allocations: 8 kB / 495.8 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/0.1388, allocations: 3.953 kB / 495.8 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1388, allocations: 0 / 495.8 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1388, allocations: 0 / 495.8 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1389, allocations: 4 kB / 495.8 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.1392, allocations: 214 kB / 496 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/0.1393, allocations: 92.95 kB / 496.1 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.1393, allocations: 4 kB / 496.1 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1395, allocations: 7.938 kB / 496.1 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.1395, allocations: 7.984 kB / 496.2 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.1396, allocations: 0 / 496.2 MB, free: 3.039 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002269/0.1398, allocations: 175.2 kB / 496.3 MB, free: 2.867 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1398, allocations: 4 kB / 496.3 MB, free: 2.863 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003544/0.1402, allocations: 24 kB / 496.4 MB, free: 2.84 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.001413/0.1416, allocations: 471.9 kB / 496.8 MB, free: 2.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.1419, allocations: 59.91 kB / 496.9 MB, free: 2.371 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1419, allocations: 0 / 496.9 MB, free: 2.371 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.1421, allocations: 24 kB / 496.9 MB, free: 2.348 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.1425, allocations: 24.16 kB / 496.9 MB, free: 2.324 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007254/0.1432, allocations: 307.8 kB / 497.2 MB, free: 1.992 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.1436, allocations: 0.7121 MB / 497.9 MB, free: 1.254 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.496e-05/0.1437, allocations: 23.42 kB / 498 MB, free: 1.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.243e-06/0.1437, allocations: 0 / 498 MB, free: 1.23 MB / 330.7 MB Notification: Performance of Templates: time 0.005706/0.1494, allocations: 1.957 MB / 499.9 MB, free: 15.27 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches