Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001805/0.00181, allocations: 186.3 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.2/2.2, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001182/0.001182, allocations: 98.86 kB / 270.9 MB, free: 13.28 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.2973/0.2973, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006419/0.000642, allocations: 12 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.129, allocations: 58.86 MB / 490.2 MB, free: 9.328 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002869/0.132, allocations: 1.508 MB / 491.7 MB, free: 7.805 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.1341, allocations: 0.8124 MB / 492.5 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.1343, allocations: 3.938 kB / 492.5 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000508/0.1348, allocations: 143.6 kB / 492.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004167/0.1353, allocations: 123.8 kB / 492.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006169/0.1359, allocations: 128.3 kB / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003577/0.1363, allocations: 143.7 kB / 493.1 MB, free: 6.453 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1364, allocations: 13.56 kB / 493.1 MB, free: 6.441 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.1366, allocations: 95.59 kB / 493.2 MB, free: 6.348 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.1368, allocations: 95.64 kB / 493.3 MB, free: 6.254 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.1369, allocations: 4 kB / 493.3 MB, free: 6.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.137, allocations: 31.94 kB / 493.3 MB, free: 6.219 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.1371, allocations: 47.81 kB / 493.4 MB, free: 6.172 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.677e-05/0.1372, allocations: 49.58 kB / 493.4 MB, free: 6.117 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.1375, allocations: 144 kB / 493.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.1375, allocations: 0 / 493.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1375, allocations: 0 / 493.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1375, allocations: 0 / 493.5 MB, free: 5.977 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008594/0.1384, allocations: 498.1 kB / 494 MB, free: 5.441 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.1385, allocations: 20.02 kB / 494.1 MB, free: 5.422 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.1385, allocations: 23.67 kB / 494.1 MB, free: 5.398 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/0.139, allocations: 246.6 kB / 494.3 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.139, allocations: 4 kB / 494.3 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.1391, allocations: 7.984 kB / 494.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.1394, allocations: 99.3 kB / 494.4 MB, free: 4.996 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.1394, allocations: 3.906 kB / 494.4 MB, free: 4.992 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.1394, allocations: 0 / 494.4 MB, free: 4.992 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1394, allocations: 0 / 494.4 MB, free: 4.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.1396, allocations: 51.92 kB / 494.5 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006791/0.1403, allocations: 429 kB / 494.9 MB, free: 4.469 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004335/0.1408, allocations: 125.4 kB / 495 MB, free: 4.328 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.1408, allocations: 3.984 kB / 495 MB, free: 4.324 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003438/0.1412, allocations: 113.1 kB / 495.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.344e-06/0.1412, allocations: 0 / 495.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.00138/0.1426, allocations: 360.6 kB / 495.5 MB, free: 3.836 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.1427, allocations: 85.09 kB / 495.6 MB, free: 3.734 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005398/0.1432, allocations: 350.9 kB / 495.9 MB, free: 3.383 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.1433, allocations: 33.7 kB / 495.9 MB, free: 3.344 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.1434, allocations: 186.8 kB / 496.1 MB, free: 3.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.402e-05/0.1435, allocations: 55.33 kB / 496.2 MB, free: 3.105 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.1435, allocations: 0 / 496.2 MB, free: 3.105 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1437, allocations: 318.8 kB / 496.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.1439, allocations: 43.97 kB / 496.5 MB, free: 2.742 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.1441, allocations: 78.91 kB / 496.6 MB, free: 2.656 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.1443, allocations: 44 kB / 496.7 MB, free: 2.613 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1443, allocations: 0 / 496.7 MB, free: 2.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005286/0.1449, allocations: 165.5 kB / 496.8 MB, free: 2.445 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.1449, allocations: 4 kB / 496.8 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1449, allocations: 0 / 496.8 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.1449, allocations: 4.188 kB / 496.8 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.1452, allocations: 39.86 kB / 496.9 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.1452, allocations: 4 kB / 496.9 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.1454, allocations: 11.98 kB / 496.9 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.1454, allocations: 4 kB / 496.9 MB, free: 2.379 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002299/0.1457, allocations: 161.8 kB / 497 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.1458, allocations: 23.72 kB / 497.1 MB, free: 2.188 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.702e-05/0.1459, allocations: 29.73 kB / 497.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.1459, allocations: 4 kB / 497.1 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1459, allocations: 0 / 497.1 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1459, allocations: 3.984 kB / 497.1 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.147, allocations: 0.6085 MB / 497.7 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1471, allocations: 7.938 kB / 497.7 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.1472, allocations: 12 kB / 497.7 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.1472, allocations: 4 kB / 497.7 MB, free: 1.453 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.1472, allocations: 11.98 kB / 497.7 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1473, allocations: 0 / 497.7 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1473, allocations: 0 / 497.7 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006344/0.1479, allocations: 401.5 kB / 498.1 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.148, allocations: 104.8 kB / 498.2 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.1481, allocations: 11.95 kB / 498.3 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.1483, allocations: 8 kB / 498.3 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.1484, allocations: 15.98 kB / 498.3 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.1485, allocations: 7.984 kB / 498.3 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004137/0.1489, allocations: 261.9 kB / 498.5 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1489, allocations: 0 / 498.5 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004878/0.1494, allocations: 40 kB / 498.6 MB, free: 0.5547 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001417/0.1508, allocations: 480.1 kB / 499 MB, free: 140 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004877/0.1513, allocations: 115.9 kB / 499.2 MB, free: 24 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1514, allocations: 3.938 kB / 499.2 MB, free: 20 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.1516, allocations: 56.16 kB / 499.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.1523, allocations: 52.83 kB / 499.3 MB, free: 15.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.1534, allocations: 491.2 kB / 499.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.1539, allocations: 0.7596 MB / 0.4888 GB, free: 14.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.993e-05/0.154, allocations: 27.44 kB / 0.4888 GB, free: 14.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.154, allocations: 0 / 0.4888 GB, free: 14.57 MB / 346.7 MB Notification: Performance of Templates: time 0.00829/0.1623, allocations: 3.078 MB / 0.4918 GB, free: 11.49 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches