Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001555/0.00156, allocations: 186.1 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.244/2.244, 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.001203/0.001203, allocations: 90.86 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.3003/0.3003, allocations: 43.57 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004838, allocations: 16 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1197, allocations: 58.86 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002627/0.1224, allocations: 1.379 MB / 491.6 MB, free: 7.941 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.1242, allocations: 0.7306 MB / 492.3 MB, free: 7.203 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.381e-05/0.1243, allocations: 3.938 kB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.1247, allocations: 47.8 kB / 492.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.1249, allocations: 43.89 kB / 492.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.1253, allocations: 75.77 kB / 492.5 MB, free: 7.035 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.1255, allocations: 71.84 kB / 492.6 MB, free: 6.965 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.124e-05/0.1256, allocations: 12.23 kB / 492.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1257, allocations: 43.83 kB / 492.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1259, allocations: 39.83 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1259, allocations: 0 / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.126, allocations: 27.94 kB / 492.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.1261, allocations: 23.91 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.1262, allocations: 41.64 kB / 492.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1264, allocations: 100 kB / 492.9 MB, free: 6.676 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1264, allocations: 0 / 492.9 MB, free: 6.676 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1264, allocations: 0 / 492.9 MB, free: 6.676 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1264, allocations: 4 kB / 492.9 MB, free: 6.672 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000655/0.1271, allocations: 402.9 kB / 493.3 MB, free: 6.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1272, allocations: 12.02 kB / 493.3 MB, free: 6.219 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.1272, allocations: 19.77 kB / 493.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.1276, allocations: 211.5 kB / 493.5 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.1276, allocations: 7.984 kB / 493.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.1276, allocations: 11.94 kB / 493.5 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.1279, allocations: 65.67 kB / 493.6 MB, free: 5.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1279, allocations: 0 / 493.6 MB, free: 5.863 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.1279, allocations: 3.984 kB / 493.6 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1279, allocations: 0 / 493.6 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.1281, allocations: 51.91 kB / 493.6 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.1286, allocations: 292.9 kB / 493.9 MB, free: 5.473 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.129, allocations: 90.67 kB / 494 MB, free: 5.375 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.129, allocations: 7.969 kB / 494 MB, free: 5.367 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.1293, allocations: 75.39 kB / 494.1 MB, free: 5.281 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 2.034e-06/0.1293, allocations: 0 / 494.1 MB, free: 5.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009376/0.1303, allocations: 225 kB / 494.3 MB, free: 5.055 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.1303, allocations: 55.34 kB / 494.4 MB, free: 4.988 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.1306, allocations: 191.3 kB / 494.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.1306, allocations: 29.7 kB / 494.6 MB, free: 4.758 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.159e-05/0.1307, allocations: 162.8 kB / 494.7 MB, free: 4.598 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.486e-05/0.1308, allocations: 35.69 kB / 494.8 MB, free: 4.562 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.1308, allocations: 4 kB / 494.8 MB, free: 4.559 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.131, allocations: 314.8 kB / 495.1 MB, free: 4.242 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.1311, allocations: 27.98 kB / 495.1 MB, free: 4.215 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.1312, allocations: 41.7 kB / 495.1 MB, free: 4.168 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1314, allocations: 39.98 kB / 495.2 MB, free: 4.129 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1314, allocations: 0 / 495.2 MB, free: 4.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003592/0.1318, allocations: 117.6 kB / 495.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.1318, allocations: 10.97 kB / 495.3 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1318, allocations: 0 / 495.3 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1318, allocations: 3.953 kB / 495.3 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.132, allocations: 23.92 kB / 495.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.1321, allocations: 0 / 495.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.787e-05/0.1321, allocations: 12.03 kB / 495.3 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.1322, allocations: 4 kB / 495.4 MB, free: 3.957 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 (12): * Single equations (assignments): 12 * 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.0001514/0.1323, allocations: 129.5 kB / 495.5 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.1324, allocations: 15.81 kB / 495.5 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.917e-05/0.1325, allocations: 13.41 kB / 495.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.1325, allocations: 7.953 kB / 495.5 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1325, allocations: 0 / 495.5 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1325, allocations: 3.984 kB / 495.5 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007656/0.1333, allocations: 431.2 kB / 495.9 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1333, allocations: 0 / 495.9 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.217e-05/0.1334, allocations: 12 kB / 496 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.1334, allocations: 3.953 kB / 496 MB, free: 3.285 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.1334, allocations: 4 kB / 496 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.1334, allocations: 0 / 496 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1335, allocations: 3.938 kB / 496 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/0.1339, allocations: 245.9 kB / 496.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/0.134, allocations: 92.95 kB / 496.3 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.134, allocations: 288 / 496.3 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1342, allocations: 8 kB / 496.3 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.1342, allocations: 7.984 kB / 496.3 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.1343, allocations: 11.94 kB / 496.3 MB, free: 2.875 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001803/0.1345, allocations: 144.8 kB / 496.5 MB, free: 2.734 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.1345, allocations: 4 kB / 496.5 MB, free: 2.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003922/0.1349, allocations: 28 kB / 496.5 MB, free: 2.703 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 (10): * Single equations (assignments): 8 * 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.001424/0.1363, allocations: 450.2 kB / 496.9 MB, free: 2.309 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.1367, allocations: 79.91 kB / 497 MB, free: 2.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1367, allocations: 4 kB / 497 MB, free: 2.227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.1369, allocations: 35.92 kB / 497.1 MB, free: 2.191 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.1373, allocations: 31.58 kB / 497.1 MB, free: 2.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007058/0.138, allocations: 295.8 kB / 497.4 MB, free: 1.844 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.1384, allocations: 0.709 MB / 498.1 MB, free: 1.109 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/0.1385, allocations: 23.44 kB / 498.1 MB, free: 1.086 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.1385, allocations: 0 / 498.1 MB, free: 1.086 MB / 330.7 MB Notification: Performance of Templates: time 0.00585/0.1443, allocations: 2.1 MB / 0.4885 GB, free: 14.99 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches