Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002097/0.002097, allocations: 179.3 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.929/1.929, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0008539/0.0008539, allocations: 85.09 kB / 270.9 MB, free: 8.359 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.3408/0.3408, allocations: 43.57 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004116, allocations: 12 kB / 431.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.12, allocations: 58.85 MB / 490.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.00224/0.1223, allocations: 1.394 MB / 491.6 MB, free: 9.797 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1236, allocations: 0.7422 MB / 492.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.39e-05/0.1237, allocations: 3.938 kB / 492.4 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.124, allocations: 31.89 kB / 492.4 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.1242, allocations: 43.83 kB / 492.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.1245, allocations: 79.84 kB / 492.5 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.1247, allocations: 87.69 kB / 492.6 MB, free: 8.805 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.676e-05/0.1248, allocations: 8.219 kB / 492.6 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.125, allocations: 39.78 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.042e-05/0.125, allocations: 31.84 kB / 492.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.1251, allocations: 0 / 492.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1252, allocations: 32 kB / 492.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.418e-05/0.1252, allocations: 19.92 kB / 492.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.1253, allocations: 45.56 kB / 492.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.1254, allocations: 84.09 kB / 492.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1255, allocations: 8 kB / 492.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.1255, allocations: 0 / 492.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1255, allocations: 0 / 492.9 MB, free: 8.535 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.0005604/0.126, allocations: 394.8 kB / 493.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1261, allocations: 12.02 kB / 493.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/0.1262, allocations: 7.906 kB / 493.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.1264, allocations: 210.8 kB / 493.5 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.1264, allocations: 4 kB / 493.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.1265, allocations: 4 kB / 493.5 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1266, allocations: 57.61 kB / 493.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1266, allocations: 3.938 kB / 493.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1267, allocations: 0 / 493.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1267, allocations: 3.953 kB / 493.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.224e-05/0.1268, allocations: 19.98 kB / 493.6 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.1271, allocations: 277 kB / 493.9 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1273, allocations: 66.61 kB / 493.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.1274, allocations: 16.86 kB / 493.9 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1274, allocations: 3.984 kB / 493.9 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.1276, allocations: 79.19 kB / 494 MB, free: 7.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.1276, allocations: 4 kB / 494 MB, free: 7.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005537/0.1282, allocations: 165.3 kB / 494.2 MB, free: 7.059 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.1282, allocations: 55.39 kB / 494.2 MB, free: 6.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.1284, allocations: 178.2 kB / 494.4 MB, free: 6.805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.1285, allocations: 33.7 kB / 494.4 MB, free: 6.766 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.1285, allocations: 100.1 kB / 494.5 MB, free: 6.664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.1286, allocations: 31.62 kB / 494.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.1286, allocations: 0 / 494.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1287, allocations: 330.8 kB / 494.9 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.734e-05/0.1288, allocations: 12 kB / 494.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.507e-05/0.1289, allocations: 41.64 kB / 495 MB, free: 6.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.577e-05/0.129, allocations: 20 kB / 495 MB, free: 6.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.129, allocations: 0 / 495 MB, free: 6.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.1292, allocations: 105.5 kB / 495.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1292, allocations: 4 kB / 495.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.1292, allocations: 8.031 kB / 495.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1292, allocations: 0 / 495.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.917e-05/0.1293, allocations: 15.98 kB / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1293, allocations: 384 / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.1294, allocations: 4 kB / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.1294, allocations: 8 kB / 495.1 MB, free: 6.074 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.0001137/0.1295, allocations: 125.2 kB / 495.2 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.1295, allocations: 15.86 kB / 495.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.1296, allocations: 16.72 kB / 495.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1296, allocations: 4 kB / 495.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1296, allocations: 0 / 495.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1296, allocations: 3.984 kB / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.1301, allocations: 403.1 kB / 495.7 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1301, allocations: 4 kB / 495.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.1301, allocations: 11.94 kB / 495.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1301, allocations: 0 / 495.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1301, allocations: 0 / 495.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1301, allocations: 4.031 kB / 495.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1302, allocations: 4 kB / 495.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.1304, allocations: 196.3 kB / 495.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.1304, allocations: 93.05 kB / 496 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.1305, allocations: 8 kB / 496 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.1306, allocations: 3.938 kB / 496 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.1306, allocations: 11.98 kB / 496 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.1306, allocations: 7.938 kB / 496 MB, free: 5.082 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.1307, allocations: 148 kB / 496.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1307, allocations: 0 / 496.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.131, allocations: 24 kB / 496.2 MB, free: 4.914 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.0009381/0.1319, allocations: 464.8 kB / 496.6 MB, free: 4.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1321, allocations: 63.89 kB / 496.7 MB, free: 4.438 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1321, allocations: 4 kB / 496.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.617e-05/0.1322, allocations: 23.98 kB / 496.7 MB, free: 4.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.1325, allocations: 23.98 kB / 496.7 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.133, allocations: 272.1 kB / 497 MB, free: 4.086 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.1333, allocations: 0.7082 MB / 497.7 MB, free: 3.352 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.1334, allocations: 15.44 kB / 497.7 MB, free: 3.336 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1334, allocations: 0 / 497.7 MB, free: 3.336 MB / 378.7 MB Notification: Performance of Templates: time 0.003748/0.1371, allocations: 1.875 MB / 499.6 MB, free: 1.465 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches