Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 173.5 kB / 16.72 MB, free: 5.082 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.23/1.23, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.0007579/0.0007582, allocations: 90.41 kB / 271.2 MB, free: 8.238 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.2895/0.2895, allocations: 43.56 MB / 363.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003826, allocations: 12 kB / 432 MB, free: 5.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1076, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.001931/0.1096, allocations: 1.259 MB / 492.1 MB, free: 9.395 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1109, allocations: 0.8909 MB / 493 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.085e-05/0.111, allocations: 0 / 493 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.1112, allocations: 23.91 kB / 493 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.1114, allocations: 31.84 kB / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.1116, allocations: 67.92 kB / 493.1 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.1118, allocations: 47.84 kB / 493.1 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.081e-05/0.1119, allocations: 15.98 kB / 493.2 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.494e-05/0.1119, allocations: 15.86 kB / 493.2 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.112, allocations: 23.91 kB / 493.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.1121, allocations: 4 kB / 493.2 MB, free: 8.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1122, allocations: 39.98 kB / 493.2 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.531e-05/0.1122, allocations: 11.92 kB / 493.2 MB, free: 8.219 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.1123, allocations: 49.56 kB / 493.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.1124, allocations: 55.91 kB / 493.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1124, allocations: 0 / 493.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1124, allocations: 0 / 493.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1124, allocations: 0 / 493.3 MB, free: 8.109 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004355/0.1129, allocations: 375.6 kB / 493.7 MB, free: 7.695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1129, allocations: 12.02 kB / 493.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.113, allocations: 8.844 kB / 493.7 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.1132, allocations: 192.1 kB / 493.9 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.1132, allocations: 4.375 kB / 493.9 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.1132, allocations: 4.375 kB / 493.9 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1134, allocations: 67.52 kB / 494 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1134, allocations: 0 / 494 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1134, allocations: 0 / 494 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1134, allocations: 7.984 kB / 494 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.512e-05/0.1135, allocations: 31.98 kB / 494 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.1138, allocations: 272.8 kB / 494.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.114, allocations: 46.5 kB / 494.3 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/0.1141, allocations: 24.94 kB / 494.4 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.1141, allocations: 0 / 494.4 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.1141, allocations: 30.56 kB / 494.4 MB, free: 6.887 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1142, allocations: 0 / 494.4 MB, free: 6.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005475/0.1147, allocations: 153.3 kB / 494.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.1148, allocations: 81.11 kB / 494.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1149, allocations: 129.8 kB / 494.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1149, allocations: 25.7 kB / 494.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.115, allocations: 92.14 kB / 494.9 MB, free: 6.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.115, allocations: 19.73 kB / 494.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-06/0.115, allocations: 7.938 kB / 494.9 MB, free: 6.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1151, allocations: 322.7 kB / 495.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.1152, allocations: 23.98 kB / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.916e-05/0.1153, allocations: 33.7 kB / 495.3 MB, free: 5.957 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.1155, allocations: 52.86 kB / 495.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1155, allocations: 0 / 495.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001908/0.1157, allocations: 89.58 kB / 495.4 MB, free: 5.809 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1157, allocations: 8 kB / 495.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1157, allocations: 0 / 495.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1157, allocations: 3.984 kB / 495.4 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/0.1158, allocations: 15.94 kB / 495.4 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1158, allocations: 0 / 495.4 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.1159, allocations: 7.984 kB / 495.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1159, allocations: 4 kB / 495.5 MB, free: 5.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.684e-05/0.116, allocations: 125.8 kB / 495.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.116, allocations: 7.906 kB / 495.6 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.1162, allocations: 93.62 kB / 495.7 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1162, allocations: 0 / 495.7 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1162, allocations: 0 / 495.7 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1163, allocations: 320 / 495.7 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.1167, allocations: 362.4 kB / 496 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1167, allocations: 0 / 496 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.349e-05/0.1167, allocations: 15.98 kB / 496 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1167, allocations: 0 / 496 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1167, allocations: 4 kB / 496 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1168, allocations: 3.938 kB / 496.1 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1168, allocations: 0 / 496.1 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.117, allocations: 183.4 kB / 496.2 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.117, allocations: 93 kB / 496.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.1171, allocations: 4 kB / 496.3 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.1171, allocations: 7.938 kB / 496.3 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.1172, allocations: 11.92 kB / 496.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1172, allocations: 0 / 496.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.397e-05/0.1173, allocations: 103.8 kB / 496.4 MB, free: 4.672 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1173, allocations: 0 / 496.4 MB, free: 4.672 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.1175, allocations: 27.92 kB / 496.5 MB, free: 4.645 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.000868/0.1184, allocations: 438.4 kB / 496.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1186, allocations: 55.91 kB / 497 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1186, allocations: 4 kB / 497 MB, free: 4.203 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.326e-05/0.1187, allocations: 27.98 kB / 497 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.119, allocations: 27.84 kB / 497 MB, free: 4.148 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.1194, allocations: 194.3 kB / 497.2 MB, free: 3.922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.1196, allocations: 0.6887 MB / 497.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.1197, allocations: 15.42 kB / 497.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1197, allocations: 0 / 497.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of Templates: time 0.003009/0.1227, allocations: 1.536 MB / 499.4 MB, free: 1.656 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches