Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001114/0.001114, allocations: 102.2 kB / 17 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 193.7 kB / 17.91 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.574/1.574, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 46.19 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002762, allocations: 8.219 kB / 418.8 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 63.56 MB / 482.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002997/0.141, allocations: 1.31 MB / 483.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1425, allocations: 0.4914 MB / 484.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.388e-05/0.1426, allocations: 0 / 484.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004992/0.1431, allocations: 87.81 kB / 484.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.1435, allocations: 95.7 kB / 484.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.1438, allocations: 83.77 kB / 484.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.1441, allocations: 67.83 kB / 484.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.1442, allocations: 15.98 kB / 484.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.187e-05/0.1443, allocations: 31.83 kB / 484.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.1445, allocations: 47.83 kB / 484.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1445, allocations: 0 / 484.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.1447, allocations: 39.98 kB / 484.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.1447, allocations: 19.92 kB / 484.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.482e-05/0.1448, allocations: 41.64 kB / 484.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.145, allocations: 79.81 kB / 484.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.145, allocations: 0 / 484.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.706e-06/0.145, allocations: 0 / 484.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.145, allocations: 0 / 484.8 MB, free: 2.102 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.0008096/0.1459, allocations: 407.1 kB / 485.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.171e-05/0.1459, allocations: 12.03 kB / 485.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.146, allocations: 7.906 kB / 485.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.1464, allocations: 211.2 kB / 485.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.1464, allocations: 8 kB / 485.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.1464, allocations: 4 kB / 485.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.1467, allocations: 49.69 kB / 485.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.1467, allocations: 0 / 485.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.1467, allocations: 4 kB / 485.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.1467, allocations: 7.938 kB / 485.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.1469, allocations: 31.97 kB / 485.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.1475, allocations: 296.8 kB / 485.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.1476, allocations: 42.56 kB / 485.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.1477, allocations: 20.94 kB / 485.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.1477, allocations: 8 kB / 485.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.1478, allocations: 34.5 kB / 485.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1478, allocations: 0 / 485.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001163/0.149, allocations: 261.4 kB / 486.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.1491, allocations: 63.34 kB / 486.2 MB, free: 492 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.1494, allocations: 230.6 kB / 486.5 MB, free: 248 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1494, allocations: 25.7 kB / 486.5 MB, free: 216 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.1495, allocations: 112 kB / 486.6 MB, free: 100 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.1495, allocations: 23.66 kB / 486.6 MB, free: 76 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.1495, allocations: 4 kB / 486.6 MB, free: 72 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1497, allocations: 322.8 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.1498, allocations: 27.98 kB / 487 MB, free: 15.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.01e-05/0.1498, allocations: 31.97 kB / 487 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.593e-05/0.1499, allocations: 31.98 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1499, allocations: 0 / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002159/0.1502, allocations: 117.5 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.1502, allocations: 4 kB / 487.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1502, allocations: 0 / 487.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1502, allocations: 0 / 487.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1503, allocations: 23.92 kB / 487.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1504, allocations: 3.953 kB / 487.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.1504, allocations: 19.98 kB / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1504, allocations: 0 / 487.2 MB, free: 15.48 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 (8): * Single equations (assignments): 8 * 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.0001183/0.1505, allocations: 129.8 kB / 487.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.1506, allocations: 15.81 kB / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.1509, allocations: 123 kB / 487.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.1509, allocations: 4 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1509, allocations: 0 / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.319e-06/0.1509, allocations: 3.953 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.1514, allocations: 415.7 kB / 487.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1514, allocations: 4 kB / 487.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.906e-05/0.1515, allocations: 15.98 kB / 487.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1515, allocations: 7.938 kB / 487.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1515, allocations: 3.953 kB / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1515, allocations: 0 / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1515, allocations: 4 kB / 487.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.1518, allocations: 216.2 kB / 488.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.423e-05/0.1519, allocations: 96.94 kB / 488.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.1519, allocations: 4 kB / 488.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/0.152, allocations: 11.95 kB / 488.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.152, allocations: 15.98 kB / 488.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.1521, allocations: 0 / 488.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002047/0.1523, allocations: 180.3 kB / 488.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1523, allocations: 0 / 488.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1525, allocations: 24 kB / 488.4 MB, free: 14.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001274/0.1538, allocations: 441.3 kB / 488.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.1541, allocations: 67.91 kB / 488.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1541, allocations: 7.938 kB / 489 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.1542, allocations: 47.97 kB / 489 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.1546, allocations: 16.17 kB / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005256/0.1552, allocations: 298.1 kB / 489.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.1556, allocations: 0.714 MB / 490 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.766e-05/0.1556, allocations: 20.95 kB / 490 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.1557, allocations: 11.44 kB / 490.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1557, allocations: 0 / 490.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of Templates: time 0.004097/0.1598, allocations: 1.259 MB / 491.3 MB, free: 11.36 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches