Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.001555, allocations: 187 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.249/2.249, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.001168/0.001167, allocations: 94.88 kB / 270.9 MB, free: 13.29 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.321/0.321, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004526, allocations: 16 kB / 431.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1224, allocations: 58.85 MB / 490.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002599/0.1251, allocations: 1.344 MB / 491.6 MB, free: 7.973 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.1269, allocations: 0.7189 MB / 492.3 MB, free: 7.246 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.485e-05/0.1271, allocations: 0 / 492.3 MB, free: 7.246 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.1274, allocations: 55.8 kB / 492.3 MB, free: 7.191 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.1277, allocations: 55.86 kB / 492.4 MB, free: 7.137 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.1281, allocations: 72.41 kB / 492.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.1283, allocations: 59.86 kB / 492.5 MB, free: 7.008 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.483e-05/0.1284, allocations: 15.92 kB / 492.5 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1285, allocations: 39.84 kB / 492.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.1286, allocations: 35.84 kB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1287, allocations: 0 / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1288, allocations: 23.98 kB / 492.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.1288, allocations: 7.984 kB / 492.6 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.1289, allocations: 45.56 kB / 492.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.1291, allocations: 76.11 kB / 492.8 MB, free: 6.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1291, allocations: 0 / 492.8 MB, free: 6.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1291, allocations: 0 / 492.8 MB, free: 6.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1292, allocations: 4 kB / 492.8 MB, free: 6.758 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006863/0.1298, allocations: 390.9 kB / 493.2 MB, free: 6.328 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.1299, allocations: 8.031 kB / 493.2 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.13, allocations: 15.84 kB / 493.2 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.1303, allocations: 198.9 kB / 493.4 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1303, allocations: 0 / 493.4 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.1303, allocations: 4 kB / 493.4 MB, free: 6.066 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.1305, allocations: 45.67 kB / 493.4 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1305, allocations: 4 kB / 493.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.1306, allocations: 0 / 493.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1306, allocations: 3.938 kB / 493.4 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.794e-05/0.1307, allocations: 23.88 kB / 493.4 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.1309, allocations: 185.6 kB / 493.6 MB, free: 5.754 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.1312, allocations: 50.61 kB / 493.7 MB, free: 5.695 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1312, allocations: 0 / 493.7 MB, free: 5.695 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.1315, allocations: 67.48 kB / 493.7 MB, free: 5.617 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.883e-06/0.1315, allocations: 0 / 493.7 MB, free: 5.617 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003965/0.1319, allocations: 97.42 kB / 493.8 MB, free: 5.516 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.132, allocations: 55.41 kB / 493.9 MB, free: 5.449 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.1322, allocations: 190.1 kB / 494.1 MB, free: 5.254 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.1323, allocations: 25.7 kB / 494.1 MB, free: 5.223 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.496e-05/0.1324, allocations: 162.6 kB / 494.3 MB, free: 5.062 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.1324, allocations: 11.91 kB / 494.3 MB, free: 5.051 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.1324, allocations: 0 / 494.3 MB, free: 5.051 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1326, allocations: 314.8 kB / 494.6 MB, free: 4.734 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.1326, allocations: 15.98 kB / 494.6 MB, free: 4.719 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.09e-05/0.1327, allocations: 33.7 kB / 494.6 MB, free: 4.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.286e-05/0.1328, allocations: 12 kB / 494.6 MB, free: 4.668 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1329, allocations: 7.938 kB / 494.7 MB, free: 4.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002414/0.1331, allocations: 73.59 kB / 494.7 MB, free: 4.582 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1331, allocations: 8 kB / 494.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1332, allocations: 0 / 494.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1332, allocations: 7.922 kB / 494.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1333, allocations: 11.94 kB / 494.7 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1333, allocations: 4 kB / 494.8 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.795e-05/0.1335, allocations: 0 / 494.8 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.1335, allocations: 4 kB / 494.8 MB, free: 4.547 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 (7): * Single equations (assignments): 7 * 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.0001311/0.1336, allocations: 137.5 kB / 494.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.1337, allocations: 7.906 kB / 494.9 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/0.1337, allocations: 12.62 kB / 494.9 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1337, allocations: 3.984 kB / 494.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.1338, allocations: 4 kB / 494.9 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1338, allocations: 4 kB / 494.9 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.134, allocations: 181.6 kB / 495.1 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.134, allocations: 0 / 495.1 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.134, allocations: 4 kB / 495.1 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.134, allocations: 3.938 kB / 495.1 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1341, allocations: 8 kB / 495.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1341, allocations: 0 / 495.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1341, allocations: 0 / 495.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.1344, allocations: 116.8 kB / 495.2 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.18e-05/0.1345, allocations: 96.92 kB / 495.3 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.1345, allocations: 0 / 495.3 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-05/0.1346, allocations: 0 / 495.3 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1346, allocations: 15.98 kB / 495.3 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.1346, allocations: 4 kB / 495.3 MB, free: 3.867 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001678/0.1348, allocations: 135.2 kB / 495.5 MB, free: 3.734 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1348, allocations: 0 / 495.5 MB, free: 3.734 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003042/0.1352, allocations: 19.98 kB / 495.5 MB, free: 3.715 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001237/0.1364, allocations: 406.3 kB / 495.9 MB, free: 3.359 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000284/0.1367, allocations: 39.92 kB / 495.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.1367, allocations: 4.062 kB / 495.9 MB, free: 3.316 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.668e-05/0.1368, allocations: 19.98 kB / 496 MB, free: 3.297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.1372, allocations: 31.55 kB / 496 MB, free: 3.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006551/0.1379, allocations: 230.9 kB / 496.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.1382, allocations: 0.7004 MB / 496.9 MB, free: 2.285 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.1383, allocations: 15.42 kB / 496.9 MB, free: 2.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.183e-06/0.1383, allocations: 0 / 496.9 MB, free: 2.27 MB / 330.7 MB Notification: Performance of Templates: time 0.005181/0.1435, allocations: 1.679 MB / 498.6 MB, free: 0.5938 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches