Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009491/0.000949, allocations: 175.1 kB / 16.72 MB, free: 4.957 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.247/1.247, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007315/0.0007313, allocations: 78.38 kB / 271.2 MB, free: 8.25 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.3324/0.3324, allocations: 43.56 MB / 363.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 15.98 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1161, allocations: 58.84 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.001816/0.1179, allocations: 1.313 MB / 492.1 MB, free: 9.328 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005553/0.1185, allocations: 327.7 kB / 492.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/0.1186, allocations: 0 / 492.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.1189, allocations: 63.84 kB / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.119, allocations: 55.86 kB / 492.6 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.1194, allocations: 147.7 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1195, allocations: 63.83 kB / 492.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1196, allocations: 31.81 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.034e-05/0.1197, allocations: 27.86 kB / 492.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.407e-05/0.1198, allocations: 47.81 kB / 492.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1198, allocations: 0 / 492.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.077e-05/0.1199, allocations: 24 kB / 492.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.12, allocations: 23.91 kB / 492.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.01e-05/0.12, allocations: 45.52 kB / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.1202, allocations: 80.09 kB / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1202, allocations: 0 / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1202, allocations: 0 / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1202, allocations: 4 kB / 493.1 MB, free: 8.395 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004867/0.1207, allocations: 399 kB / 493.4 MB, free: 7.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1207, allocations: 8.031 kB / 493.5 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.1208, allocations: 12.84 kB / 493.5 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.121, allocations: 192.1 kB / 493.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.121, allocations: 4.375 kB / 493.7 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.121, allocations: 4.375 kB / 493.7 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.1212, allocations: 73.78 kB / 493.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1212, allocations: 0 / 493.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1212, allocations: 8 kB / 493.7 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1213, allocations: 0 / 493.7 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.1214, allocations: 47.89 kB / 493.8 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.1218, allocations: 320.7 kB / 494.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.122, allocations: 50.56 kB / 494.2 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.554e-05/0.1221, allocations: 36.92 kB / 494.2 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1221, allocations: 0 / 494.2 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1221, allocations: 30.56 kB / 494.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1221, allocations: 3.938 kB / 494.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007695/0.1229, allocations: 261.2 kB / 494.5 MB, free: 6.805 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.123, allocations: 55.34 kB / 494.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.1231, allocations: 200.8 kB / 494.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1232, allocations: 29.7 kB / 494.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.1232, allocations: 104 kB / 494.9 MB, free: 6.391 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.1233, allocations: 39.59 kB / 494.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.1233, allocations: 0 / 494.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1234, allocations: 326.8 kB / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.1235, allocations: 47.95 kB / 495.3 MB, free: 5.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1236, allocations: 52.03 kB / 495.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.1239, allocations: 108.8 kB / 495.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1239, allocations: 0 / 495.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002831/0.1242, allocations: 141.5 kB / 495.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1242, allocations: 7.281 kB / 495.6 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1242, allocations: 0 / 495.6 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1242, allocations: 4 kB / 495.6 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1244, allocations: 19.98 kB / 495.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1244, allocations: 0 / 495.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.1244, allocations: 24.2 kB / 495.6 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.1245, allocations: 0 / 495.6 MB, free: 5.621 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 (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.0001064/0.1246, allocations: 133.8 kB / 495.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.1246, allocations: 7.906 kB / 495.8 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.125, allocations: 170.8 kB / 495.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.125, allocations: 4 kB / 495.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.125, allocations: 0 / 495.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.125, allocations: 3.938 kB / 495.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/0.1255, allocations: 418.5 kB / 496.3 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1255, allocations: 0 / 496.3 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.953e-05/0.1256, allocations: 27.92 kB / 496.4 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1256, allocations: 4 kB / 496.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.1257, allocations: 7.938 kB / 496.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1257, allocations: 4 kB / 496.4 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1257, allocations: 0 / 496.4 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.126, allocations: 239.4 kB / 496.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.126, allocations: 85 kB / 496.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1261, allocations: 7.938 kB / 496.7 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.144e-05/0.1261, allocations: 11.98 kB / 496.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.1262, allocations: 12 kB / 496.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.1262, allocations: 4 kB / 496.7 MB, free: 4.398 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1264, allocations: 160.9 kB / 496.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1264, allocations: 3.938 kB / 496.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.1266, allocations: 19.98 kB / 496.9 MB, free: 4.219 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 (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 Backend phase and start with SimCode phase: time 0.0008317/0.1274, allocations: 398.5 kB / 497.3 MB, free: 3.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.1277, allocations: 103.9 kB / 497.4 MB, free: 3.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1278, allocations: 0 / 497.4 MB, free: 3.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.1279, allocations: 68.03 kB / 497.5 MB, free: 3.699 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.1282, allocations: 27.77 kB / 497.5 MB, free: 3.672 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.1287, allocations: 295.2 kB / 497.8 MB, free: 3.344 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.129, allocations: 0.7121 MB / 498.5 MB, free: 2.605 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.129, allocations: 15.44 kB / 498.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.129, allocations: 0 / 498.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of Templates: time 0.003302/0.1323, allocations: 1.7 MB / 0.4885 GB, free: 0.8906 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches