Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2305/0.2305, allocations: 46.1 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 76.69 kB / 416.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1483, allocations: 62.45 MB / 479.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003176/0.1515, allocations: 1.676 MB / 481 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1526, allocations: 0.5456 MB / 481.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.251e-05/0.1527, allocations: 0 / 481.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.153, allocations: 71.83 kB / 481.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.1533, allocations: 91.72 kB / 481.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.1536, allocations: 99.06 kB / 481.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.1538, allocations: 87.75 kB / 481.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1539, allocations: 15.98 kB / 481.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.154, allocations: 27.92 kB / 481.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1541, allocations: 55.81 kB / 482 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1541, allocations: 4 kB / 482 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1542, allocations: 43.98 kB / 482 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.072e-05/0.1543, allocations: 27.91 kB / 482 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.1544, allocations: 31.67 kB / 482.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.1546, allocations: 103.6 kB / 482.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1546, allocations: 0 / 482.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1546, allocations: 0 / 482.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1546, allocations: 0 / 482.2 MB, free: 2.844 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.000559/0.1552, allocations: 411.2 kB / 482.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1552, allocations: 12.88 kB / 482.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.1553, allocations: 8.844 kB / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.1555, allocations: 206.7 kB / 482.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1556, allocations: 384 / 482.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.1556, allocations: 8.375 kB / 482.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1558, allocations: 57.73 kB / 482.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1558, allocations: 0 / 482.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.1558, allocations: 12 kB / 482.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1558, allocations: 0 / 482.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1559, allocations: 23.98 kB / 482.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.1564, allocations: 308.7 kB / 483.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1565, allocations: 46.5 kB / 483.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.704e-05/0.1566, allocations: 20.94 kB / 483.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.1567, allocations: 0 / 483.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.755e-05/0.1567, allocations: 42.5 kB / 483.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1567, allocations: 0 / 483.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001037/0.1578, allocations: 241.5 kB / 483.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.1578, allocations: 51.41 kB / 483.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.1581, allocations: 218.8 kB / 483.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1581, allocations: 25.7 kB / 483.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.489e-05/0.1582, allocations: 108.1 kB / 483.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.1582, allocations: 27.56 kB / 483.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.1583, allocations: 21.7 kB / 484 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1585, allocations: 322.8 kB / 484.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.059e-05/0.1586, allocations: 35.86 kB / 484.3 MB, free: 476 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.1587, allocations: 35.97 kB / 484.4 MB, free: 440 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.1588, allocations: 72.83 kB / 484.4 MB, free: 364 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1588, allocations: 0 / 484.4 MB, free: 364 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002168/0.1591, allocations: 113.5 kB / 484.5 MB, free: 244 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1591, allocations: 4 kB / 484.5 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1591, allocations: 0 / 484.5 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1591, allocations: 0 / 484.5 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1592, allocations: 27.92 kB / 484.6 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1593, allocations: 0 / 484.6 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.1593, allocations: 7.938 kB / 484.6 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.1593, allocations: 4 kB / 484.6 MB, free: 200 kB / 350.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.0001715/0.1595, allocations: 125.8 kB / 484.7 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.1595, allocations: 15.8 kB / 484.7 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003397/0.1599, allocations: 143.3 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1599, allocations: 0 / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1599, allocations: 0 / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.1599, allocations: 7.938 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/0.1606, allocations: 419.2 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1606, allocations: 0 / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.1607, allocations: 15.98 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.1607, allocations: 15.91 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-06/0.1607, allocations: 0 / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1607, allocations: 4 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1607, allocations: 0 / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.161, allocations: 216.2 kB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.161, allocations: 92.95 kB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.1611, allocations: 7.938 kB / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.1611, allocations: 0 / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.1612, allocations: 7.984 kB / 485.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-06/0.1612, allocations: 4 kB / 485.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.1614, allocations: 168.7 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1614, allocations: 0 / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1616, allocations: 20 kB / 485.8 MB, free: 14.85 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.001093/0.1627, allocations: 450.6 kB / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.163, allocations: 75.89 kB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.163, allocations: 7.938 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.567e-05/0.1631, allocations: 35.98 kB / 486.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.1636, allocations: 20.86 kB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007224/0.1643, allocations: 300.8 kB / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.1647, allocations: 0.7121 MB / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.517e-05/0.1648, allocations: 20.95 kB / 487.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.962e-05/0.1649, allocations: 15.44 kB / 487.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1649, allocations: 0 / 487.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of Templates: time 0.004609/0.1695, allocations: 1.342 MB / 488.8 MB, free: 11.99 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches