Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001215/0.001215, allocations: 102.8 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001979/0.001979, allocations: 200.4 kB / 17.91 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 227.7 MB / 246.4 MB, free: 9.844 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2406/0.2406, allocations: 46.19 MB / 344.8 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003461, allocations: 8 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1503, allocations: 63.57 MB / 482.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.001831/0.1522, allocations: 1.338 MB / 483.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000844/0.153, allocations: 0.507 MB / 484.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.1531, allocations: 0 / 484.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.1534, allocations: 99.73 kB / 484.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.1536, allocations: 87.77 kB / 484.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.1539, allocations: 107.1 kB / 484.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.154, allocations: 87.73 kB / 484.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.1541, allocations: 23.98 kB / 484.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.652e-05/0.1542, allocations: 35.84 kB / 484.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.233e-05/0.1543, allocations: 47.81 kB / 484.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1543, allocations: 4 kB / 484.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.363e-05/0.1544, allocations: 39.97 kB / 484.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.437e-05/0.1545, allocations: 23.92 kB / 484.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.1545, allocations: 41.64 kB / 484.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.1546, allocations: 107.7 kB / 484.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1547, allocations: 0 / 484.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1547, allocations: 0 / 484.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.1547, allocations: 0 / 484.9 MB, free: 1.992 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004493/0.1551, allocations: 415.1 kB / 485.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1552, allocations: 8.031 kB / 485.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.1552, allocations: 11.81 kB / 485.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.1554, allocations: 211.3 kB / 485.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1554, allocations: 8 kB / 485.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.1555, allocations: 7.906 kB / 485.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.1556, allocations: 77.59 kB / 485.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1556, allocations: 0 / 485.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1557, allocations: 4 kB / 485.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1557, allocations: 0 / 485.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1558, allocations: 43.97 kB / 485.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.1563, allocations: 360.6 kB / 486.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.1564, allocations: 58.56 kB / 486.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.417e-05/0.1565, allocations: 32.84 kB / 486.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.1565, allocations: 0 / 486.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.1565, allocations: 38.56 kB / 486.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1565, allocations: 3.938 kB / 486.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001051/0.1576, allocations: 381.2 kB / 486.6 MB, free: 200 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.1577, allocations: 55.41 kB / 486.6 MB, free: 132 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.1579, allocations: 235.5 kB / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.158, allocations: 25.7 kB / 486.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.158, allocations: 108.1 kB / 487 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.1581, allocations: 55.2 kB / 487 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.1581, allocations: 0 / 487 MB, free: 15.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1582, allocations: 330.8 kB / 487.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.1583, allocations: 47.97 kB / 487.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-05/0.1584, allocations: 47.97 kB / 487.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1586, allocations: 51.97 kB / 487.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1586, allocations: 4 kB / 487.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002686/0.1588, allocations: 169 kB / 487.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1589, allocations: 8 kB / 487.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1589, allocations: 3.953 kB / 487.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1589, allocations: 0 / 487.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.159, allocations: 31.98 kB / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1591, allocations: 0 / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.1591, allocations: 7.984 kB / 487.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.1591, allocations: 12 kB / 487.7 MB, free: 14.98 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 (13): * Single equations (assignments): 13 * 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.0001047/0.1592, allocations: 133.8 kB / 487.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.1593, allocations: 11.81 kB / 487.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/0.1597, allocations: 195 kB / 488.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1597, allocations: 3.984 kB / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1597, allocations: 0 / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1597, allocations: 0 / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006487/0.1603, allocations: 0.503 MB / 488.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1604, allocations: 4 kB / 488.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-05/0.1604, allocations: 27.92 kB / 488.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.1605, allocations: 4 kB / 488.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1605, allocations: 4 kB / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1605, allocations: 4.031 kB / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.1605, allocations: 4 kB / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.1608, allocations: 264.1 kB / 488.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.1609, allocations: 92.92 kB / 489 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.1609, allocations: 0 / 489 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.14e-05/0.161, allocations: 15.98 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.1611, allocations: 11.92 kB / 489 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1611, allocations: 4 kB / 489 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.1613, allocations: 185.1 kB / 489.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1613, allocations: 0 / 489.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.1615, allocations: 28 kB / 489.2 MB, free: 13.39 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 (13): * Single equations (assignments): 13 * 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.0009982/0.1625, allocations: 448.1 kB / 489.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.1628, allocations: 119.9 kB / 489.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1628, allocations: 0 / 489.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.163, allocations: 67.84 kB / 489.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.1633, allocations: 24.12 kB / 489.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/0.1639, allocations: 367.3 kB / 490.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.1642, allocations: 0.72 MB / 490.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.049e-05/0.1643, allocations: 32.52 kB / 491 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.1643, allocations: 15.44 kB / 491 MB, free: 11.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1643, allocations: 0 / 491 MB, free: 11.73 MB / 366.1 MB Notification: Performance of Templates: time 0.004397/0.1687, allocations: 1.49 MB / 492.5 MB, free: 10.24 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches