Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 107.4 kB / 17.98 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001345, allocations: 213.8 kB / 18.92 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 247.1 MB, free: 8.973 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2386/0.2386, allocations: 46.11 MB / 344.5 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 77.25 kB / 417.8 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1362, allocations: 62.45 MB / 480.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003561/0.1398, allocations: 1.669 MB / 481.9 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1409, allocations: 0.5455 MB / 482.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.146e-05/0.141, allocations: 4 kB / 482.4 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003649/0.1414, allocations: 87.8 kB / 482.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.1417, allocations: 103.7 kB / 482.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.1421, allocations: 103.4 kB / 482.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.1423, allocations: 79.88 kB / 482.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1424, allocations: 15.98 kB / 482.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.098e-05/0.1425, allocations: 43.78 kB / 482.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1426, allocations: 59.81 kB / 482.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.1426, allocations: 0 / 482.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.1428, allocations: 55.97 kB / 483 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.1428, allocations: 19.92 kB / 483 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.1429, allocations: 31.69 kB / 483 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.1431, allocations: 83.88 kB / 483.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1431, allocations: 0 / 483.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1431, allocations: 4 kB / 483.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.1431, allocations: 0 / 483.1 MB, free: 2.621 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.0006061/0.1437, allocations: 415.1 kB / 483.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.1438, allocations: 12.03 kB / 483.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.1438, allocations: 16.75 kB / 483.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1441, allocations: 204.6 kB / 483.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.1441, allocations: 4.375 kB / 483.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.1441, allocations: 4.375 kB / 483.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1443, allocations: 57.8 kB / 483.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.1443, allocations: 4 kB / 483.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1443, allocations: 3.938 kB / 483.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1444, allocations: 0 / 483.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.1445, allocations: 35.89 kB / 483.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.145, allocations: 308.7 kB / 484.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.1451, allocations: 38.56 kB / 484.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.426e-05/0.1451, allocations: 20.94 kB / 484.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1452, allocations: 4 kB / 484.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1452, allocations: 42.5 kB / 484.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1452, allocations: 0 / 484.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000967/0.1462, allocations: 245 kB / 484.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.1463, allocations: 59.41 kB / 484.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.1465, allocations: 230.6 kB / 484.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.1466, allocations: 33.64 kB / 484.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.1467, allocations: 104.1 kB / 484.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.1467, allocations: 31.55 kB / 484.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.1468, allocations: 21.72 kB / 485 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1469, allocations: 322.8 kB / 485.3 MB, free: 240 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-05/0.147, allocations: 31.97 kB / 485.3 MB, free: 208 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.668e-05/0.1471, allocations: 31.98 kB / 485.3 MB, free: 176 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.1473, allocations: 72.81 kB / 485.4 MB, free: 100 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1473, allocations: 3.938 kB / 485.4 MB, free: 96 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002527/0.1476, allocations: 109.5 kB / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1476, allocations: 4 kB / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1476, allocations: 4 kB / 485.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1476, allocations: 4 kB / 485.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.1478, allocations: 15.98 kB / 485.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1478, allocations: 0 / 485.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.1478, allocations: 15.92 kB / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1479, allocations: 4 kB / 485.6 MB, free: 15.93 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.148, allocations: 129.8 kB / 485.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.148, allocations: 11.81 kB / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/0.1484, allocations: 135 kB / 485.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1484, allocations: 4 kB / 485.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1484, allocations: 0 / 485.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1484, allocations: 7.922 kB / 485.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.149, allocations: 427.2 kB / 486.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.149, allocations: 0 / 486.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.803e-05/0.1491, allocations: 24.02 kB / 486.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1491, allocations: 3.938 kB / 486.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1491, allocations: 4 kB / 486.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.1492, allocations: 3.938 kB / 486.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1492, allocations: 0 / 486.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.1495, allocations: 212.7 kB / 486.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/0.1495, allocations: 92.86 kB / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1496, allocations: 7.984 kB / 486.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/0.1496, allocations: 4 kB / 486.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.1497, allocations: 12.41 kB / 486.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.1497, allocations: 4 kB / 486.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.1499, allocations: 172.3 kB / 486.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1499, allocations: 0 / 486.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1501, allocations: 27.98 kB / 486.8 MB, free: 14.57 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 (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.001696/0.1519, allocations: 453 kB / 487.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002726/0.1521, allocations: 75.95 kB / 487.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1522, allocations: 0 / 487.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.1523, allocations: 43.91 kB / 487.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.1527, allocations: 19.94 kB / 487.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006556/0.1533, allocations: 348.7 kB / 487.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.1538, allocations: 0.7176 MB / 488.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.1538, allocations: 15.44 kB / 488.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of SimCode: time 2.134e-06/0.1538, allocations: 3.938 kB / 488.5 MB, free: 13 MB / 366.1 MB Notification: Performance of Templates: time 0.004282/0.1581, allocations: 1.857 MB / 490.3 MB, free: 11.15 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches