Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00137/0.00137, allocations: 181.8 kB / 16.41 MB, free: 5.594 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.789/1.789, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.0008229/0.0008228, allocations: 84.98 kB / 270.9 MB, free: 8.375 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.3143/0.3143, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003578, allocations: 12 kB / 431.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.118, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.002017/0.12, allocations: 1.317 MB / 491.5 MB, free: 9.664 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005839/0.1206, allocations: 319.8 kB / 491.9 MB, free: 9.348 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.1207, allocations: 4 kB / 491.9 MB, free: 9.344 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.1209, allocations: 51.86 kB / 491.9 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.1211, allocations: 43.88 kB / 492 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.1214, allocations: 139.8 kB / 492.1 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.1216, allocations: 63.81 kB / 492.2 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.904e-05/0.1217, allocations: 19.83 kB / 492.2 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.581e-05/0.1217, allocations: 31.86 kB / 492.2 MB, free: 9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.612e-05/0.1218, allocations: 31.89 kB / 492.2 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1218, allocations: 4 kB / 492.2 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.943e-05/0.1219, allocations: 27.94 kB / 492.3 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.122, allocations: 11.98 kB / 492.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.122, allocations: 37.64 kB / 492.3 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.1221, allocations: 71.81 kB / 492.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1221, allocations: 0 / 492.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1221, allocations: 0 / 492.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1222, allocations: 0 / 492.4 MB, free: 8.812 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.0005113/0.1227, allocations: 402.8 kB / 492.8 MB, free: 8.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1227, allocations: 12.02 kB / 492.8 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.1228, allocations: 11.86 kB / 492.8 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.123, allocations: 195.4 kB / 493 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.123, allocations: 0 / 493 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.123, allocations: 4 kB / 493 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.1232, allocations: 65.67 kB / 493.1 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1232, allocations: 0 / 493.1 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1232, allocations: 0 / 493.1 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1233, allocations: 0 / 493.1 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.1234, allocations: 59.84 kB / 493.1 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.1238, allocations: 308.8 kB / 493.4 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.124, allocations: 50.55 kB / 493.5 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.893e-05/0.1241, allocations: 32.94 kB / 493.5 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1241, allocations: 0 / 493.5 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1241, allocations: 38.5 kB / 493.5 MB, free: 7.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1241, allocations: 0 / 493.5 MB, free: 7.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008183/0.125, allocations: 269 kB / 493.8 MB, free: 7.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.125, allocations: 51.41 kB / 493.9 MB, free: 7.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.1252, allocations: 182.4 kB / 494 MB, free: 6.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1252, allocations: 29.7 kB / 494.1 MB, free: 6.941 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.1253, allocations: 100.1 kB / 494.2 MB, free: 6.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.1253, allocations: 23.72 kB / 494.2 MB, free: 6.816 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.1253, allocations: 4 kB / 494.2 MB, free: 6.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1254, allocations: 330.8 kB / 494.5 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.1256, allocations: 43.97 kB / 494.6 MB, free: 6.438 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.1257, allocations: 43.97 kB / 494.6 MB, free: 6.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.1258, allocations: 51.97 kB / 494.6 MB, free: 6.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1259, allocations: 0 / 494.6 MB, free: 6.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003088/0.1262, allocations: 141.4 kB / 494.8 MB, free: 6.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1262, allocations: 7.953 kB / 494.8 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1262, allocations: 4 kB / 494.8 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1262, allocations: 0 / 494.8 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1263, allocations: 27.92 kB / 494.8 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1264, allocations: 0 / 494.8 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.26e-05/0.1264, allocations: 19.98 kB / 494.8 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1264, allocations: 0 / 494.8 MB, free: 6.141 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 8.794e-05/0.1265, allocations: 129.8 kB / 495 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.1266, allocations: 8.188 kB / 495 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.1269, allocations: 162.2 kB / 495.1 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1269, allocations: 3.984 kB / 495.1 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.127, allocations: 4 kB / 495.1 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.127, allocations: 0 / 495.1 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/0.1275, allocations: 422.9 kB / 495.6 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1275, allocations: 3.953 kB / 495.6 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.692e-05/0.1276, allocations: 23.98 kB / 495.6 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1276, allocations: 0 / 495.6 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1276, allocations: 0 / 495.6 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1276, allocations: 0 / 495.6 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1277, allocations: 3.938 kB / 495.6 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.128, allocations: 243.4 kB / 495.8 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.1281, allocations: 100.9 kB / 495.9 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.1281, allocations: 4 kB / 495.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-05/0.1282, allocations: 11.98 kB / 495.9 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.1282, allocations: 7.938 kB / 495.9 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.1282, allocations: 4 kB / 496 MB, free: 4.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.1283, allocations: 140 kB / 496.1 MB, free: 4.793 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1283, allocations: 0 / 496.1 MB, free: 4.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002246/0.1286, allocations: 20 kB / 496.1 MB, free: 4.773 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.0007624/0.1293, allocations: 401.4 kB / 496.5 MB, free: 4.422 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003182/0.1297, allocations: 111.9 kB / 496.6 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1297, allocations: 0 / 496.6 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.1298, allocations: 51.97 kB / 496.7 MB, free: 4.262 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.1302, allocations: 11.98 kB / 496.7 MB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004557/0.1306, allocations: 286.8 kB / 497 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.1309, allocations: 0.7004 MB / 497.7 MB, free: 3.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.131, allocations: 15.44 kB / 497.7 MB, free: 3.195 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.131, allocations: 4 kB / 497.7 MB, free: 3.191 MB / 378.7 MB Notification: Performance of Templates: time 0.003093/0.1341, allocations: 1.669 MB / 499.3 MB, free: 1.523 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches