Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009532/0.0009529, allocations: 99.27 kB / 17.01 MB, free: 6.395 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.001289/0.001289, allocations: 181 kB / 17.89 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.3 MB / 241.9 MB, free: 340 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2567/0.2567, allocations: 44.25 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003303, allocations: 12.59 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.127, allocations: 61.93 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.001839/0.1289, allocations: 1.274 MB / 472.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006874/0.1296, allocations: 403.6 kB / 473.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.1297, allocations: 0 / 473.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005442/0.1302, allocations: 443.2 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.1306, allocations: 243.5 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.131, allocations: 154.5 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.1312, allocations: 127.7 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.864e-05/0.1313, allocations: 16.17 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.1315, allocations: 95.8 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.1317, allocations: 171.7 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.1317, allocations: 0 / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.782e-05/0.1318, allocations: 19.94 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.132, allocations: 95.67 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.506e-05/0.132, allocations: 61.52 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.1323, allocations: 175.8 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1323, allocations: 0 / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1323, allocations: 4 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1323, allocations: 0 / 474.8 MB, free: 10.41 MB / 350.1 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.0008081/0.1331, allocations: 0.5873 MB / 475.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.1332, allocations: 8.562 kB / 475.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.854e-05/0.1333, allocations: 47.44 kB / 475.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.1336, allocations: 271.4 kB / 475.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1336, allocations: 4 kB / 475.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.1336, allocations: 0 / 475.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.1338, allocations: 61.62 kB / 475.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1339, allocations: 4 kB / 475.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1339, allocations: 0 / 475.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1339, allocations: 0 / 475.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.134, allocations: 43.97 kB / 475.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.1346, allocations: 396.8 kB / 476.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.1348, allocations: 50.56 kB / 476.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.868e-05/0.1349, allocations: 28.92 kB / 476.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.1349, allocations: 3.938 kB / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.135, allocations: 38.56 kB / 476.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.135, allocations: 0 / 476.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003682/0.1353, allocations: 133 kB / 476.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.1354, allocations: 55.41 kB / 476.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009065/0.1363, allocations: 0.8574 MB / 477.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1363, allocations: 25.7 kB / 477.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.1365, allocations: 220 kB / 477.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.1365, allocations: 7.812 kB / 477.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.1365, allocations: 0 / 477.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1367, allocations: 362.8 kB / 478 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.809e-05/0.1368, allocations: 15.98 kB / 478 MB, free: 7.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.956e-05/0.1368, allocations: 27.98 kB / 478.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.871e-05/0.1369, allocations: 23.97 kB / 478.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1369, allocations: 3.953 kB / 478.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000212/0.1372, allocations: 121.1 kB / 478.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1372, allocations: 4 kB / 478.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1372, allocations: 0 / 478.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1372, allocations: 0 / 478.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.317e-05/0.1373, allocations: 11.98 kB / 478.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.1373, allocations: 4 kB / 478.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.326e-05/0.1374, allocations: 7.938 kB / 478.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1374, allocations: 0 / 478.2 MB, free: 6.809 MB / 350.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 (3): * Single equations (assignments): 3 * 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.0001928/0.1376, allocations: 217.8 kB / 478.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.1376, allocations: 47.39 kB / 478.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.1379, allocations: 133.2 kB / 478.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1379, allocations: 4.031 kB / 478.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1379, allocations: 4 kB / 478.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.138, allocations: 0 / 478.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.1382, allocations: 289.6 kB / 478.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1382, allocations: 0 / 478.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.576e-05/0.1383, allocations: 15.94 kB / 478.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.1383, allocations: 0 / 478.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1383, allocations: 0 / 478.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1383, allocations: 4 kB / 478.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1383, allocations: 0 / 478.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.1386, allocations: 214.9 kB / 479.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/0.1387, allocations: 112.6 kB / 479.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.1387, allocations: 3.953 kB / 479.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/0.1388, allocations: 11.92 kB / 479.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.1389, allocations: 8 kB / 479.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1389, allocations: 0 / 479.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006406/0.1395, allocations: 0.6472 MB / 479.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1395, allocations: 0 / 479.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1398, allocations: 16 kB / 479.9 MB, free: 4.996 MB / 350.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 (3): * Single equations (assignments): 3 * 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.000871/0.1406, allocations: 356.7 kB / 480.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.1409, allocations: 43.97 kB / 480.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1409, allocations: 4 kB / 480.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.337e-05/0.1409, allocations: 27.98 kB / 480.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.1413, allocations: 25.89 kB / 480.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1424, allocations: 0.8138 MB / 481.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.1428, allocations: 0.8185 MB / 482 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.214e-05/0.1429, allocations: 16.17 kB / 482 MB, free: 2.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.1429, allocations: 11.44 kB / 482 MB, free: 2.953 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.143, allocations: 0 / 482 MB, free: 2.953 MB / 350.1 MB Notification: Performance of Templates: time 0.004354/0.1473, allocations: 1.202 MB / 483.2 MB, free: 1.758 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches