Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 111.7 kB / 17.04 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001253, allocations: 196 kB / 17.97 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2228/0.2228, allocations: 43.53 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 71.84 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1186, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002934/0.1215, allocations: 1.6 MB / 443.6 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006131/0.1222, allocations: 359.4 kB / 443.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.529e-05/0.1223, allocations: 4 kB / 443.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004814/0.1228, allocations: 451.1 kB / 444.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.1231, allocations: 255.4 kB / 444.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.1235, allocations: 151.3 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.1237, allocations: 171.6 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1238, allocations: 19.94 kB / 445 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.124, allocations: 115.8 kB / 445.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.1242, allocations: 207.6 kB / 445.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.1243, allocations: 4 kB / 445.3 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.807e-05/0.1244, allocations: 35.92 kB / 445.3 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1245, allocations: 83.67 kB / 445.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.159e-05/0.1246, allocations: 103 kB / 445.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.1249, allocations: 263 kB / 445.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1249, allocations: 0 / 445.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1249, allocations: 0 / 445.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1249, allocations: 0 / 445.7 MB, free: 2.359 MB / 318.1 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.0007007/0.1256, allocations: 0.6414 MB / 446.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1257, allocations: 11.89 kB / 446.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.48e-05/0.1258, allocations: 44.38 kB / 446.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.126, allocations: 296.1 kB / 446.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.126, allocations: 4.375 kB / 446.7 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.1261, allocations: 8.375 kB / 446.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.1263, allocations: 61.8 kB / 446.8 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1263, allocations: 4 kB / 446.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1263, allocations: 0 / 446.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.1263, allocations: 0 / 446.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.1264, allocations: 43.95 kB / 446.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.127, allocations: 400.7 kB / 447.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1271, allocations: 50.5 kB / 447.3 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.214e-05/0.1272, allocations: 24.94 kB / 447.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.1272, allocations: 0 / 447.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.1273, allocations: 34.55 kB / 447.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.1273, allocations: 8 kB / 447.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007623/0.128, allocations: 295.8 kB / 447.6 MB, free: 292 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.1281, allocations: 55.39 kB / 447.7 MB, free: 224 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008096/0.1289, allocations: 0.8535 MB / 448.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1289, allocations: 29.7 kB / 448.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.1291, allocations: 216 kB / 448.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.1291, allocations: 31.7 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.1292, allocations: 17.72 kB / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1293, allocations: 370.7 kB / 449.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1294, allocations: 39.97 kB / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1296, allocations: 39.97 kB / 449.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.1298, allocations: 85.02 kB / 449.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1298, allocations: 0 / 449.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002858/0.1301, allocations: 161.1 kB / 449.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1302, allocations: 4 kB / 449.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1302, allocations: 4.281 kB / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1302, allocations: 0 / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1303, allocations: 27.86 kB / 449.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.1303, allocations: 0 / 449.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.206e-05/0.1304, allocations: 15.92 kB / 449.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1304, allocations: 0 / 449.6 MB, free: 14.3 MB / 334.1 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.0002063/0.1306, allocations: 217.7 kB / 449.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.1307, allocations: 43.52 kB / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/0.1311, allocations: 181.4 kB / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1311, allocations: 0 / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1311, allocations: 4 kB / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.1311, allocations: 3.938 kB / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006471/0.1318, allocations: 0.5061 MB / 450.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1318, allocations: 0 / 450.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.176e-05/0.1319, allocations: 19.98 kB / 450.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1319, allocations: 0 / 450.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1319, allocations: 3.938 kB / 450.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1319, allocations: 0 / 450.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1319, allocations: 4 kB / 450.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.1323, allocations: 258.9 kB / 450.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.837e-05/0.1324, allocations: 108.5 kB / 450.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.1324, allocations: 7.938 kB / 450.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/0.1325, allocations: 11.98 kB / 450.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.1326, allocations: 11.92 kB / 450.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1326, allocations: 0 / 450.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006857/0.1333, allocations: 0.6472 MB / 451.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1333, allocations: 4 kB / 451.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1335, allocations: 24 kB / 451.6 MB, free: 12.15 MB / 334.1 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.0009058/0.1345, allocations: 396.8 kB / 452 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.1348, allocations: 87.88 kB / 452.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1348, allocations: 0 / 452.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.1349, allocations: 51.95 kB / 452.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.1353, allocations: 33.48 kB / 452.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.1364, allocations: 0.8148 MB / 453 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.1369, allocations: 0.8299 MB / 453.8 MB, free: 9.977 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.605e-05/0.137, allocations: 23.97 kB / 453.8 MB, free: 9.953 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.137, allocations: 15.44 kB / 453.9 MB, free: 9.938 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.137, allocations: 0 / 453.9 MB, free: 9.938 MB / 334.1 MB Notification: Performance of Templates: time 0.004916/0.1419, allocations: 1.585 MB / 455.4 MB, free: 8.363 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches