Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008446/0.0008446, allocations: 96.72 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009174/0.0009174, allocations: 209.9 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 227.8 MB / 246.8 MB, free: 9.738 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.232/0.232, allocations: 46.19 MB / 345.3 MB, free: 11.15 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.0002798/0.0002798, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1338, allocations: 63.57 MB / 483.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002121/0.136, allocations: 1.376 MB / 484.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1377, allocations: 1.14 MB / 485.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.1377, allocations: 0 / 485.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.1379, allocations: 23.91 kB / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.1381, allocations: 67.75 kB / 485.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.1384, allocations: 114.7 kB / 485.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.1386, allocations: 67.77 kB / 486 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.1387, allocations: 19.98 kB / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.922e-05/0.1387, allocations: 23.92 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.1389, allocations: 39.72 kB / 486 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1389, allocations: 0 / 486 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.1391, allocations: 91.94 kB / 486.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/0.1392, allocations: 15.98 kB / 486.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.455e-05/0.1392, allocations: 53.44 kB / 486.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.1395, allocations: 139.7 kB / 486.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1395, allocations: 4 kB / 486.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.1395, allocations: 0 / 486.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1395, allocations: 3.938 kB / 486.3 MB, free: 0.8828 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005187/0.14, allocations: 395.5 kB / 486.7 MB, free: 460 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1401, allocations: 8.031 kB / 486.7 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.1401, allocations: 12.83 kB / 486.7 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.1403, allocations: 184.3 kB / 486.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1403, allocations: 12.31 kB / 486.9 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.1404, allocations: 4.375 kB / 486.9 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1406, allocations: 79.5 kB / 487 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1406, allocations: 4 kB / 487 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1406, allocations: 0 / 487 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.1406, allocations: 4 kB / 487 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.1408, allocations: 47.97 kB / 487.1 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.1412, allocations: 300.5 kB / 487.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.1414, allocations: 50.55 kB / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.053e-05/0.1415, allocations: 24.94 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.1415, allocations: 4 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.1415, allocations: 34.56 kB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1416, allocations: 0 / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009521/0.1425, allocations: 245.3 kB / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.1426, allocations: 81.09 kB / 487.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.1428, allocations: 155.9 kB / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1428, allocations: 25.7 kB / 488 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.436e-05/0.1429, allocations: 96.05 kB / 488.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.1429, allocations: 27.64 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.1429, allocations: 9.719 kB / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1431, allocations: 322.8 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.1432, allocations: 47.91 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.1434, allocations: 53.69 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.1437, allocations: 88.84 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1437, allocations: 0 / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003219/0.144, allocations: 129.5 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.144, allocations: 8 kB / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.144, allocations: 320 / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.144, allocations: 0 / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.1442, allocations: 36.19 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.1442, allocations: 0 / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.769e-05/0.1443, allocations: 15.92 kB / 488.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1443, allocations: 7.984 kB / 488.8 MB, free: 14.18 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 (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 9.375e-05/0.1444, allocations: 113.8 kB / 488.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.1444, allocations: 7.906 kB / 488.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.1448, allocations: 146.3 kB / 489.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1448, allocations: 0 / 489.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1449, allocations: 4 kB / 489.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1449, allocations: 3.938 kB / 489.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006033/0.1455, allocations: 410.4 kB / 489.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.1455, allocations: 7.984 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.1456, allocations: 19.98 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1456, allocations: 0 / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1456, allocations: 11.94 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1456, allocations: 0 / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1456, allocations: 0 / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.146, allocations: 223.3 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.1461, allocations: 89 kB / 489.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.1461, allocations: 11.94 kB / 489.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.1463, allocations: 19.92 kB / 489.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.1463, allocations: 7.922 kB / 489.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.748e-05/0.1464, allocations: 4 kB / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.957e-05/0.1465, allocations: 113.3 kB / 490 MB, free: 12.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1465, allocations: 0 / 490 MB, free: 12.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.1468, allocations: 39.98 kB / 490 MB, free: 12.87 MB / 366.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.001748/0.1485, allocations: 0.4935 MB / 490.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003327/0.1489, allocations: 95.88 kB / 490.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1489, allocations: 4 kB / 490.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.149, allocations: 43.97 kB / 490.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.1493, allocations: 12 kB / 490.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006145/0.15, allocations: 240.9 kB / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.1504, allocations: 0.7062 MB / 491.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.475e-05/0.1505, allocations: 8.312 kB / 491.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.47e-05/0.1505, allocations: 15.42 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1505, allocations: 0 / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of Templates: time 0.005132/0.1557, allocations: 1.818 MB / 493.4 MB, free: 9.543 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches