Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001526/0.001526, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002107/0.002107, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 76.44 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.128, allocations: 62.44 MB / 481.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003574/0.1316, allocations: 1.664 MB / 483.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009959/0.1327, allocations: 0.6763 MB / 483.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.1327, allocations: 4 kB / 483.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.133, allocations: 27.89 kB / 483.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.1333, allocations: 39.83 kB / 483.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.24e-06/0.1333, allocations: 3.938 kB / 483.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.1335, allocations: 35.84 kB / 483.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.1335, allocations: 4 kB / 483.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.454e-05/0.1336, allocations: 15.92 kB / 483.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.215e-05/0.1336, allocations: 15.92 kB / 483.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1336, allocations: 0 / 483.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.998e-05/0.1337, allocations: 8 kB / 483.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.1338, allocations: 23.91 kB / 484 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.1338, allocations: 15.88 kB / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.1339, allocations: 75.67 kB / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1339, allocations: 4 kB / 484.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1339, allocations: 0 / 484.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.134, allocations: 0 / 484.1 MB, free: 1.898 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003744/0.1343, allocations: 363.3 kB / 484.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1344, allocations: 8.031 kB / 484.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.1344, allocations: 8.844 kB / 484.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.1346, allocations: 172.2 kB / 484.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1346, allocations: 8.312 kB / 484.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.1346, allocations: 384 / 484.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.1348, allocations: 130.4 kB / 484.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1348, allocations: 192 / 484.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.1348, allocations: 7.938 kB / 484.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.1349, allocations: 23.92 kB / 484.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.995e-05/0.135, allocations: 43.91 kB / 484.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006524/0.1356, allocations: 0.8906 MB / 485.7 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1358, allocations: 177.1 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.1358, allocations: 80.14 kB / 485.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.1358, allocations: 79.22 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/0.1359, allocations: 109.9 kB / 486.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.1359, allocations: 0 / 486.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.186e-05/0.136, allocations: 37.61 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/0.1361, allocations: 130.7 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.1363, allocations: 190 kB / 486.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.1363, allocations: 25.7 kB / 486.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1364, allocations: 147.1 kB / 486.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-06/0.1364, allocations: 4 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.1365, allocations: 41.61 kB / 486.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1366, allocations: 326.8 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.946e-05/0.1367, allocations: 31.98 kB / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.1368, allocations: 161 kB / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.137, allocations: 200.9 kB / 487.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.137, allocations: 4 kB / 487.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003235/0.1374, allocations: 213 kB / 487.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1374, allocations: 4 kB / 487.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.1374, allocations: 8 kB / 487.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.1374, allocations: 4.625 kB / 487.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1376, allocations: 35.92 kB / 487.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1376, allocations: 12 kB / 487.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.322e-05/0.1377, allocations: 23.78 kB / 487.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.1377, allocations: 8 kB / 487.7 MB, free: 13.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001258/0.1378, allocations: 217 kB / 487.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-05/0.1379, allocations: 120.7 kB / 488 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.267e-05/0.138, allocations: 116.8 kB / 488.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.749e-05/0.138, allocations: 188.1 kB / 488.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.517e-05/0.1381, allocations: 176.3 kB / 488.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-05/0.1382, allocations: 180.3 kB / 488.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.1384, allocations: 425.1 kB / 489.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.688e-05/0.1385, allocations: 108.9 kB / 489.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.1385, allocations: 104.9 kB / 489.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.208e-05/0.1386, allocations: 184.2 kB / 489.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.85e-05/0.1386, allocations: 180.3 kB / 489.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.398e-05/0.1387, allocations: 184.2 kB / 489.8 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-05/0.1388, allocations: 176.3 kB / 490 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.1389, allocations: 319.7 kB / 490.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.394e-05/0.139, allocations: 185.9 kB / 490.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.264e-05/0.1391, allocations: 184.2 kB / 490.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.1392, allocations: 101 kB / 490.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.1393, allocations: 184.2 kB / 491 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.1393, allocations: 105 kB / 491.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1395, allocations: 131.2 kB / 491.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1395, allocations: 0 / 491.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1397, allocations: 16 kB / 491.2 MB, free: 10.12 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 (0): * Single equations (assignments): 0 * 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.000499/0.1402, allocations: 272.5 kB / 491.5 MB, free: 9.895 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001409/0.1404, allocations: 80.72 kB / 491.6 MB, free: 9.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1404, allocations: 0 / 491.6 MB, free: 9.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.1404, allocations: 0 / 491.6 MB, free: 9.816 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.1408, allocations: 467.6 kB / 492 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.1411, allocations: 241.5 kB / 492.2 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1415, allocations: 0.7006 MB / 492.9 MB, free: 8.363 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002156/0.1417, allocations: 53.02 kB / 493 MB, free: 8.312 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.1417, allocations: 15.44 kB / 493 MB, free: 8.297 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1417, allocations: 0 / 493 MB, free: 8.297 MB / 366.1 MB Notification: Performance of Templates: time 0.003513/0.1453, allocations: 0.689 MB / 493.7 MB, free: 7.613 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches