Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 177.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.000793/0.0007925, allocations: 90.3 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4206/0.4206, allocations: 43.56 MB / 362.7 MB, free: 52.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.000445, allocations: 19.98 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1287, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002053/0.1308, allocations: 1.398 MB / 491.6 MB, free: 9.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1319, allocations: 0.7422 MB / 492.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.449e-05/0.132, allocations: 11.94 kB / 492.4 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.1323, allocations: 31.89 kB / 492.4 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.1324, allocations: 47.83 kB / 492.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.1327, allocations: 67.84 kB / 492.5 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.1328, allocations: 83.7 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.21e-05/0.1329, allocations: 12.22 kB / 492.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.506e-05/0.133, allocations: 39.83 kB / 492.7 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.186e-05/0.1331, allocations: 31.8 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1331, allocations: 4 kB / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.404e-05/0.1332, allocations: 39.92 kB / 492.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.1332, allocations: 19.91 kB / 492.8 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.1333, allocations: 37.64 kB / 492.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1334, allocations: 84.11 kB / 492.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1335, allocations: 0 / 492.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1335, allocations: 0 / 492.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1335, allocations: 0 / 492.9 MB, free: 8.562 MB / 378.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.0005488/0.134, allocations: 402.8 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1341, allocations: 12.02 kB / 493.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.1341, allocations: 15.89 kB / 493.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.1343, allocations: 198.8 kB / 493.5 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1344, allocations: 4 kB / 493.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.1344, allocations: 7.938 kB / 493.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1346, allocations: 53.61 kB / 493.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1346, allocations: 3.984 kB / 493.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.1346, allocations: 8 kB / 493.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1346, allocations: 7.953 kB / 493.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.245e-05/0.1347, allocations: 15.98 kB / 493.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.1351, allocations: 281 kB / 493.9 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1352, allocations: 50.62 kB / 493.9 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.662e-05/0.1353, allocations: 24.84 kB / 493.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.1353, allocations: 8 kB / 493.9 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.1355, allocations: 67.25 kB / 494 MB, free: 7.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1355, allocations: 0 / 494 MB, free: 7.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005411/0.1361, allocations: 173.3 kB / 494.2 MB, free: 7.082 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.1361, allocations: 51.41 kB / 494.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1363, allocations: 190.1 kB / 494.4 MB, free: 6.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1363, allocations: 29.7 kB / 494.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.1364, allocations: 96.14 kB / 494.5 MB, free: 6.688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.1364, allocations: 31.58 kB / 494.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.1365, allocations: 0 / 494.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1366, allocations: 326.8 kB / 494.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.1367, allocations: 19.98 kB / 494.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.72e-05/0.1367, allocations: 37.64 kB / 494.9 MB, free: 6.266 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.407e-05/0.1368, allocations: 28 kB / 495 MB, free: 6.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1368, allocations: 0 / 495 MB, free: 6.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001666/0.137, allocations: 93.55 kB / 495.1 MB, free: 6.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.137, allocations: 8 kB / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.137, allocations: 3.938 kB / 495.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1371, allocations: 3.984 kB / 495.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.1371, allocations: 12 kB / 495.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1372, allocations: 4.375 kB / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.925e-05/0.1372, allocations: 4 kB / 495.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1372, allocations: 8.031 kB / 495.1 MB, free: 6.098 MB / 378.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.000106/0.1373, allocations: 125.5 kB / 495.2 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.1374, allocations: 19.86 kB / 495.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.1374, allocations: 16.7 kB / 495.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1374, allocations: 0 / 495.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1374, allocations: 3.938 kB / 495.3 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1375, allocations: 3.984 kB / 495.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.1379, allocations: 403.2 kB / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1379, allocations: 0 / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.138, allocations: 11.94 kB / 495.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.138, allocations: 0 / 495.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.138, allocations: 11.98 kB / 495.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.138, allocations: 0 / 495.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.138, allocations: 0 / 495.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.1382, allocations: 200.3 kB / 495.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.1383, allocations: 96.88 kB / 496 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.1383, allocations: 0 / 496 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.1384, allocations: 7.984 kB / 496 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.1384, allocations: 4 kB / 496 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.1385, allocations: 4 kB / 496 MB, free: 5.109 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1386, allocations: 148 kB / 496.1 MB, free: 4.965 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1386, allocations: 3.938 kB / 496.1 MB, free: 4.961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002419/0.1388, allocations: 32.17 kB / 496.2 MB, free: 4.93 MB / 378.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.0009174/0.1398, allocations: 458.1 kB / 496.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.1399, allocations: 59.98 kB / 496.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.14, allocations: 3.938 kB / 496.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.894e-05/0.14, allocations: 23.98 kB / 496.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.1403, allocations: 27.42 kB / 496.7 MB, free: 4.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.1408, allocations: 268.2 kB / 497 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.1411, allocations: 0.7081 MB / 497.7 MB, free: 3.379 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.1411, allocations: 19.44 kB / 497.7 MB, free: 3.359 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1411, allocations: 0 / 497.7 MB, free: 3.359 MB / 378.7 MB Notification: Performance of Templates: time 0.003434/0.1446, allocations: 1.875 MB / 499.6 MB, free: 1.484 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches