Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009137/0.0009144, allocations: 94.08 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009629/0.0009631, allocations: 202.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.8 MB / 246.9 MB, free: 9.746 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2285/0.2285, allocations: 46.19 MB / 345.3 MB, free: 11.16 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 8 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1323, allocations: 63.56 MB / 483.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002253/0.1346, allocations: 1.388 MB / 484.5 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1358, allocations: 0.5417 MB / 485.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.1359, allocations: 0 / 485.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.1362, allocations: 51.81 kB / 485.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.1365, allocations: 67.81 kB / 485.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.1369, allocations: 119.3 kB / 485.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.137, allocations: 79.77 kB / 485.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1372, allocations: 24.2 kB / 485.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.48e-05/0.1372, allocations: 31.8 kB / 485.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.935e-05/0.1373, allocations: 35.84 kB / 485.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.1374, allocations: 0 / 485.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1375, allocations: 47.97 kB / 485.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.1376, allocations: 19.92 kB / 485.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.366e-05/0.1376, allocations: 49.52 kB / 485.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.1378, allocations: 103.7 kB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.1378, allocations: 8 kB / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1378, allocations: 0 / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1378, allocations: 0 / 485.7 MB, free: 1.504 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005796/0.1384, allocations: 403.3 kB / 486.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1385, allocations: 12.02 kB / 486.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.1385, allocations: 8.844 kB / 486.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.1387, allocations: 200.2 kB / 486.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1388, allocations: 8.312 kB / 486.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.1388, allocations: 15.92 kB / 486.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.139, allocations: 65.61 kB / 486.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.139, allocations: 0 / 486.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.139, allocations: 0 / 486.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1391, allocations: 4 kB / 486.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.1392, allocations: 47.97 kB / 486.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.1397, allocations: 304.7 kB / 486.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.1399, allocations: 66.53 kB / 486.8 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.66e-05/0.14, allocations: 32.97 kB / 486.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.1401, allocations: 4 kB / 486.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1401, allocations: 30.56 kB / 486.9 MB, free: 172 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1401, allocations: 0 / 486.9 MB, free: 172 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001652/0.1418, allocations: 481 kB / 487.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.1418, allocations: 59.34 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.142, allocations: 177.9 kB / 487.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.1421, allocations: 25.7 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.489e-05/0.1421, allocations: 108 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.1422, allocations: 35.45 kB / 487.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.1422, allocations: 17.72 kB / 487.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.1424, allocations: 322.8 kB / 488.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.1426, allocations: 51.97 kB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1427, allocations: 47.97 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.143, allocations: 120.8 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.143, allocations: 0 / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003684/0.1434, allocations: 161.8 kB / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1434, allocations: 4 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1434, allocations: 7.922 kB / 488.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1435, allocations: 0 / 488.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1436, allocations: 31.98 kB / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1436, allocations: 0 / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.085e-05/0.1437, allocations: 19.98 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.1437, allocations: 4 kB / 488.5 MB, free: 14.47 MB / 366.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 (11): * Single equations (assignments): 11 * 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.0001154/0.1438, allocations: 121.8 kB / 488.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.1439, allocations: 7.906 kB / 488.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/0.1443, allocations: 198.2 kB / 488.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1443, allocations: 3.938 kB / 488.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1443, allocations: 4 kB / 488.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1443, allocations: 0 / 488.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007284/0.1451, allocations: 487.9 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1451, allocations: 4 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.1452, allocations: 35.97 kB / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1452, allocations: 0 / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.1452, allocations: 4.375 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1452, allocations: 0 / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1453, allocations: 8.062 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.1457, allocations: 269 kB / 489.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.1457, allocations: 88.92 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1458, allocations: 7.938 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1459, allocations: 15.98 kB / 489.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.1459, allocations: 11.98 kB / 489.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.1459, allocations: 4 kB / 489.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1461, allocations: 135.2 kB / 489.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1461, allocations: 0 / 489.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1463, allocations: 27.98 kB / 489.9 MB, free: 12.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001682/0.148, allocations: 451.1 kB / 490.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003683/0.1484, allocations: 135.8 kB / 490.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1484, allocations: 0 / 490.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.1486, allocations: 67.89 kB / 490.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.1489, allocations: 17.36 kB / 490.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/0.1496, allocations: 315 kB / 490.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.1499, allocations: 0.7121 MB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.53e-05/0.15, allocations: 16.55 kB / 491.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.15, allocations: 15.44 kB / 491.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.15, allocations: 0 / 491.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of Templates: time 0.004548/0.1546, allocations: 1.461 MB / 493.1 MB, free: 9.879 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches