Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002396/0.002396, allocations: 186.2 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.319/2.319, 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.001159/0.001159, allocations: 98.86 kB / 270.9 MB, free: 13.37 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.3077/0.3077, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004651, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1232, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002596/0.1258, allocations: 1.379 MB / 491.6 MB, free: 7.945 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.1285, allocations: 1.305 MB / 492.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.1287, allocations: 7.938 kB / 492.9 MB, free: 6.621 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.1291, allocations: 27.89 kB / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.1293, allocations: 47.81 kB / 493 MB, free: 6.547 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.1297, allocations: 75.8 kB / 493.1 MB, free: 6.473 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.1299, allocations: 63.84 kB / 493.1 MB, free: 6.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.854e-05/0.13, allocations: 4.234 kB / 493.1 MB, free: 6.406 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1301, allocations: 39.84 kB / 493.2 MB, free: 6.367 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.1303, allocations: 31.84 kB / 493.2 MB, free: 6.336 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.1304, allocations: 4 kB / 493.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.1305, allocations: 39.92 kB / 493.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.1306, allocations: 11.92 kB / 493.3 MB, free: 6.281 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.1307, allocations: 33.7 kB / 493.3 MB, free: 6.242 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.1309, allocations: 96.08 kB / 493.4 MB, free: 6.148 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1309, allocations: 0 / 493.4 MB, free: 6.148 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1309, allocations: 0 / 493.4 MB, free: 6.148 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1309, allocations: 0 / 493.4 MB, free: 6.148 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.0006319/0.1316, allocations: 395 kB / 493.8 MB, free: 5.715 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1316, allocations: 12.02 kB / 493.8 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.1317, allocations: 11.86 kB / 493.8 MB, free: 5.691 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.132, allocations: 210.5 kB / 494 MB, free: 5.449 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.1321, allocations: 0 / 494 MB, free: 5.449 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.1321, allocations: 4 kB / 494 MB, free: 5.445 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.1323, allocations: 67.38 kB / 494.1 MB, free: 5.367 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1324, allocations: 3.938 kB / 494.1 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.1324, allocations: 4 kB / 494.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.1324, allocations: 7.953 kB / 494.1 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.1325, allocations: 19.98 kB / 494.1 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.133, allocations: 276.9 kB / 494.4 MB, free: 5.012 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.1333, allocations: 58.62 kB / 494.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.1333, allocations: 4 kB / 494.4 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.1336, allocations: 75.38 kB / 494.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.625e-06/0.1336, allocations: 0 / 494.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007688/0.1344, allocations: 169.2 kB / 494.7 MB, free: 4.684 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.1345, allocations: 81.11 kB / 494.8 MB, free: 4.586 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.1347, allocations: 149.8 kB / 494.9 MB, free: 4.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.1347, allocations: 29.7 kB / 494.9 MB, free: 4.395 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.46e-05/0.1348, allocations: 162.6 kB / 495.1 MB, free: 4.234 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.1349, allocations: 27.69 kB / 495.1 MB, free: 4.207 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.1349, allocations: 0 / 495.1 MB, free: 4.207 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.135, allocations: 314.8 kB / 495.4 MB, free: 3.891 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.623e-05/0.1351, allocations: 19.98 kB / 495.4 MB, free: 3.871 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.1353, allocations: 38.56 kB / 495.5 MB, free: 3.824 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.1354, allocations: 31.97 kB / 495.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1354, allocations: 0 / 495.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002954/0.1357, allocations: 93.62 kB / 495.6 MB, free: 3.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1357, allocations: 4 kB / 495.6 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1357, allocations: 0 / 495.6 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.1358, allocations: 4 kB / 495.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.1359, allocations: 19.88 kB / 495.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1359, allocations: 0 / 495.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.671e-05/0.1361, allocations: 11.98 kB / 495.6 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1361, allocations: 12.02 kB / 495.7 MB, free: 3.645 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.0001373/0.1362, allocations: 117.8 kB / 495.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.1363, allocations: 15.77 kB / 495.8 MB, free: 3.504 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.31e-05/0.1363, allocations: 16.7 kB / 495.8 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1364, allocations: 4 kB / 495.8 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1364, allocations: 0 / 495.8 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1364, allocations: 0 / 495.8 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007178/0.1371, allocations: 395.3 kB / 496.2 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1371, allocations: 0 / 496.2 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.118e-05/0.1372, allocations: 8 kB / 496.2 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1372, allocations: 0 / 496.2 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.1372, allocations: 3.984 kB / 496.2 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.1373, allocations: 8.125 kB / 496.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1373, allocations: 0 / 496.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.1376, allocations: 217.9 kB / 496.4 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.281e-05/0.1377, allocations: 89 kB / 496.5 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.1378, allocations: 4 kB / 496.5 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.1379, allocations: 4.375 kB / 496.5 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.1379, allocations: 3.984 kB / 496.5 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.138, allocations: 8 kB / 496.5 MB, free: 2.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000147/0.1381, allocations: 118.7 kB / 496.6 MB, free: 2.535 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1382, allocations: 4 kB / 496.7 MB, free: 2.531 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004017/0.1386, allocations: 35.95 kB / 496.7 MB, free: 2.496 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.001529/0.1401, allocations: 0.5035 MB / 497.2 MB, free: 2.043 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003275/0.1405, allocations: 51.98 kB / 497.2 MB, free: 1.992 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1405, allocations: 0 / 497.2 MB, free: 1.992 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1406, allocations: 31.92 kB / 497.3 MB, free: 1.961 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.1411, allocations: 23.98 kB / 497.3 MB, free: 1.938 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.1417, allocations: 227.9 kB / 497.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.142, allocations: 0.6965 MB / 498.2 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.1421, allocations: 31.42 kB / 498.2 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of SimCode: time 4.889e-06/0.1421, allocations: 0 / 498.2 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of Templates: time 0.006167/0.1483, allocations: 2.055 MB / 0.4886 GB, free: 14.88 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches