Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,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_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,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_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001513/0.001513, allocations: 183 kB / 16.63 MB, free: 5.133 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.447/1.447, allocations: 205.1 MB / 222.5 MB, free: 8.469 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.0009597/0.0009598, allocations: 94.28 kB / 269.9 MB, free: 8.43 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.3466/0.3466, allocations: 43.49 MB / 360.7 MB, free: 51.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009561/0.0009561, allocations: 55.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1153, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003039/0.1184, allocations: 1.671 MB / 488.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1197, allocations: 0.9415 MB / 489.6 MB, free: 9.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.1197, allocations: 0 / 489.6 MB, free: 9.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.1199, allocations: 23.91 kB / 489.6 MB, free: 9.887 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.1201, allocations: 31.91 kB / 489.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.1204, allocations: 147.7 kB / 489.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.1206, allocations: 71.77 kB / 489.9 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.1207, allocations: 20.12 kB / 489.9 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.479e-05/0.1207, allocations: 23.92 kB / 489.9 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.1209, allocations: 31.83 kB / 490 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1209, allocations: 4 kB / 490 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.305e-05/0.121, allocations: 47.98 kB / 490 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.1211, allocations: 23.84 kB / 490 MB, free: 9.492 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.975e-05/0.1211, allocations: 27.81 kB / 490.1 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.1213, allocations: 95.7 kB / 490.2 MB, free: 9.371 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1213, allocations: 0 / 490.2 MB, free: 9.371 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1213, allocations: 0 / 490.2 MB, free: 9.371 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1213, allocations: 0 / 490.2 MB, free: 9.371 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.0004945/0.1218, allocations: 387.2 kB / 490.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1219, allocations: 12.03 kB / 490.6 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.1219, allocations: 12.84 kB / 490.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.1221, allocations: 188.3 kB / 490.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-06/0.1221, allocations: 384 / 490.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.1222, allocations: 8.312 kB / 490.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.1224, allocations: 75.5 kB / 490.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1224, allocations: 0 / 490.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1224, allocations: 8 kB / 490.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1224, allocations: 0 / 490.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.1225, allocations: 39.91 kB / 490.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.123, allocations: 304.7 kB / 491.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.1231, allocations: 54.48 kB / 491.2 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.329e-05/0.1232, allocations: 28.94 kB / 491.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.1232, allocations: 0 / 491.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1233, allocations: 30.56 kB / 491.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.1233, allocations: 0 / 491.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007894/0.1241, allocations: 229.6 kB / 491.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.582e-05/0.1242, allocations: 77.11 kB / 491.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.1243, allocations: 137.5 kB / 491.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.1243, allocations: 25.7 kB / 491.7 MB, free: 7.582 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.1244, allocations: 96.05 kB / 491.8 MB, free: 7.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.1244, allocations: 23.64 kB / 491.9 MB, free: 7.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.1245, allocations: 21.72 kB / 491.9 MB, free: 7.434 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1246, allocations: 326.8 kB / 492.2 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.1248, allocations: 35.97 kB / 492.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.1249, allocations: 61.61 kB / 492.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.1252, allocations: 93.05 kB / 492.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1252, allocations: 0 / 492.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002906/0.1255, allocations: 125.5 kB / 492.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1255, allocations: 4 kB / 492.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1255, allocations: 0 / 492.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1255, allocations: 0 / 492.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1256, allocations: 31.91 kB / 492.5 MB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1257, allocations: 4 kB / 492.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.799e-05/0.1257, allocations: 11.94 kB / 492.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1257, allocations: 0 / 492.6 MB, free: 6.73 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.1258, allocations: 121.8 kB / 492.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.1259, allocations: 7.906 kB / 492.7 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000351/0.1262, allocations: 138 kB / 492.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1263, allocations: 0 / 492.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1263, allocations: 4 kB / 492.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1263, allocations: 3.938 kB / 492.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.1268, allocations: 402.4 kB / 493.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1268, allocations: 0 / 493.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.04e-05/0.1269, allocations: 27.92 kB / 493.2 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1269, allocations: 0 / 493.2 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1269, allocations: 3.938 kB / 493.3 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/0.1269, allocations: 3.984 kB / 493.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1269, allocations: 0 / 493.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007265/0.1277, allocations: 0.8214 MB / 494.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.1277, allocations: 77.11 kB / 494.2 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.1278, allocations: 8 kB / 494.2 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.439e-05/0.1279, allocations: 7.984 kB / 494.2 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.1279, allocations: 15.86 kB / 494.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.1279, allocations: 0 / 494.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.366e-05/0.128, allocations: 103.3 kB / 494.3 MB, free: 4.855 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.128, allocations: 4 kB / 494.3 MB, free: 4.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003489/0.1284, allocations: 31.98 kB / 494.3 MB, free: 4.82 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009768/0.1294, allocations: 450.3 kB / 494.8 MB, free: 4.422 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003033/0.1297, allocations: 87.94 kB / 494.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1297, allocations: 0 / 494.8 MB, free: 4.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.1298, allocations: 51.89 kB / 494.9 MB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.1302, allocations: 19.94 kB / 494.9 MB, free: 4.266 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.1307, allocations: 355 kB / 495.3 MB, free: 3.879 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.131, allocations: 0.7043 MB / 496 MB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.651e-05/0.1311, allocations: 27.97 kB / 496 MB, free: 3.121 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.1312, allocations: 11.44 kB / 496 MB, free: 3.109 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1312, allocations: 0 / 496 MB, free: 3.109 MB / 378.7 MB Notification: Performance of Templates: time 0.003769/0.135, allocations: 1.471 MB / 497.5 MB, free: 1.637 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches