Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008522/0.0008523, allocations: 175.4 kB / 16.72 MB, free: 5.059 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.218/1.218, allocations: 205.4 MB / 222.9 MB, free: 8.934 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.0007538/0.0007536, allocations: 94.39 kB / 271.2 MB, free: 8.242 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.3157/0.3157, allocations: 43.55 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 16 kB / 432 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1204, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002467/0.1229, allocations: 1.394 MB / 492.2 MB, free: 9.488 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.1243, allocations: 0.7422 MB / 493 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.1244, allocations: 3.938 kB / 493 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.1247, allocations: 91.8 kB / 493.1 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.125, allocations: 59.8 kB / 493.1 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1252, allocations: 75.84 kB / 493.2 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.1254, allocations: 87.69 kB / 493.3 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1255, allocations: 20.2 kB / 493.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.887e-05/0.1256, allocations: 47.77 kB / 493.3 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1257, allocations: 55.81 kB / 493.4 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1257, allocations: 4 kB / 493.4 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.79e-05/0.1258, allocations: 32 kB / 493.4 MB, free: 8.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.1259, allocations: 27.84 kB / 493.5 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.285e-05/0.1259, allocations: 57.44 kB / 493.5 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.1261, allocations: 88.09 kB / 493.6 MB, free: 8.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1261, allocations: 0 / 493.6 MB, free: 8.094 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1261, allocations: 0 / 493.6 MB, free: 8.094 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1261, allocations: 0 / 493.6 MB, free: 8.094 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.0005445/0.1267, allocations: 411.1 kB / 494 MB, free: 7.645 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1267, allocations: 8.031 kB / 494 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.1268, allocations: 20.73 kB / 494 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.127, allocations: 208 kB / 494.2 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.127, allocations: 4.375 kB / 494.2 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.1271, allocations: 12.03 kB / 494.3 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1272, allocations: 61.59 kB / 494.3 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1272, allocations: 0 / 494.3 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1273, allocations: 3.984 kB / 494.3 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1273, allocations: 4 kB / 494.3 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.013e-05/0.1274, allocations: 19.98 kB / 494.3 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.1278, allocations: 292.8 kB / 494.6 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.1279, allocations: 58.67 kB / 494.7 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.128, allocations: 16.86 kB / 494.7 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.128, allocations: 4 kB / 494.7 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.1282, allocations: 63.39 kB / 494.8 MB, free: 6.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.845e-06/0.1282, allocations: 0 / 494.8 MB, free: 6.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005215/0.1288, allocations: 189 kB / 495 MB, free: 6.574 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1288, allocations: 55.41 kB / 495 MB, free: 6.508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.129, allocations: 218.6 kB / 495.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.1291, allocations: 33.7 kB / 495.3 MB, free: 6.242 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.1291, allocations: 108.1 kB / 495.4 MB, free: 6.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.1292, allocations: 23.64 kB / 495.4 MB, free: 6.109 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.1292, allocations: 4 kB / 495.4 MB, free: 6.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1293, allocations: 330.8 kB / 495.7 MB, free: 5.773 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.92e-05/0.1294, allocations: 12 kB / 495.7 MB, free: 5.762 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-05/0.1294, allocations: 37.7 kB / 495.8 MB, free: 5.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1296, allocations: 61.7 kB / 495.8 MB, free: 5.652 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1296, allocations: 0 / 495.8 MB, free: 5.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001661/0.1297, allocations: 101.5 kB / 495.9 MB, free: 5.547 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1298, allocations: 8 kB / 495.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1298, allocations: 0 / 495.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1298, allocations: 0 / 495.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.602e-05/0.1299, allocations: 19.94 kB / 495.9 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1299, allocations: 4 kB / 495.9 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.558e-05/0.13, allocations: 11.95 kB / 496 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.13, allocations: 4 kB / 496 MB, free: 5.5 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 9.621e-05/0.1301, allocations: 129.5 kB / 496.1 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.1301, allocations: 19.8 kB / 496.1 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.1301, allocations: 13.41 kB / 496.1 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1302, allocations: 0 / 496.1 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.1302, allocations: 4 kB / 496.1 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1302, allocations: 7.875 kB / 496.1 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.1306, allocations: 399.5 kB / 496.5 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1306, allocations: 0 / 496.5 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.164e-05/0.1307, allocations: 8 kB / 496.5 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1307, allocations: 0 / 496.5 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1307, allocations: 7.938 kB / 496.5 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1307, allocations: 0 / 496.5 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1307, allocations: 80 / 496.5 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.1309, allocations: 212.2 kB / 496.7 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.131, allocations: 96.91 kB / 496.8 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.131, allocations: 3.938 kB / 496.8 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.849e-05/0.1311, allocations: 4.188 kB / 496.8 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.1311, allocations: 7.984 kB / 496.9 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.1311, allocations: 11.94 kB / 496.9 MB, free: 4.488 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.1313, allocations: 168.3 kB / 497 MB, free: 4.324 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1313, allocations: 0 / 497 MB, free: 4.324 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.1315, allocations: 24 kB / 497.1 MB, free: 4.301 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.000942/0.1325, allocations: 462.3 kB / 497.5 MB, free: 3.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.1327, allocations: 59.91 kB / 497.6 MB, free: 3.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1327, allocations: 0 / 497.6 MB, free: 3.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.798e-05/0.1328, allocations: 35.92 kB / 497.6 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.1331, allocations: 23.73 kB / 497.6 MB, free: 3.777 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.1335, allocations: 299.9 kB / 497.9 MB, free: 3.449 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.1338, allocations: 0.7121 MB / 498.6 MB, free: 2.711 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.1338, allocations: 15.44 kB / 498.6 MB, free: 2.699 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1339, allocations: 0 / 498.6 MB, free: 2.699 MB / 378.7 MB Notification: Performance of Templates: time 0.003432/0.1373, allocations: 1.956 MB / 0.4889 GB, free: 0.7422 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches