Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001093, allocations: 117 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.4 MB, free: 10.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 75.72 kB / 417 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1461, allocations: 62.45 MB / 479.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.00357/0.1497, allocations: 1.649 MB / 481.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.1516, allocations: 1.14 MB / 482.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.521e-05/0.1517, allocations: 3.938 kB / 482.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.152, allocations: 19.94 kB / 482.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003763/0.1524, allocations: 71.81 kB / 482.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.1528, allocations: 103 kB / 482.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.153, allocations: 63.89 kB / 482.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1532, allocations: 15.98 kB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.741e-05/0.1532, allocations: 31.8 kB / 482.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.1534, allocations: 31.84 kB / 482.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.1534, allocations: 4 kB / 482.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.1537, allocations: 95.94 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.1537, allocations: 15.92 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.1538, allocations: 19.81 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.1541, allocations: 143.7 kB / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1541, allocations: 0 / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1541, allocations: 0 / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1541, allocations: 0 / 482.9 MB, free: 2.215 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006423/0.1548, allocations: 403.4 kB / 483.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1548, allocations: 8.031 kB / 483.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.1549, allocations: 8.922 kB / 483.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.1552, allocations: 192.1 kB / 483.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1552, allocations: 12.3 kB / 483.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.1552, allocations: 8.375 kB / 483.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1554, allocations: 63.47 kB / 483.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1554, allocations: 4 kB / 483.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1554, allocations: 0 / 483.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1555, allocations: 0 / 483.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.1556, allocations: 23.97 kB / 483.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.1561, allocations: 292.8 kB / 483.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.1563, allocations: 42.56 kB / 483.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.715e-05/0.1564, allocations: 20.94 kB / 483.9 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.1564, allocations: 0 / 483.9 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.1564, allocations: 30.56 kB / 484 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1564, allocations: 4 kB / 484 MB, free: 0.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006627/0.1571, allocations: 157.2 kB / 484.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/0.1572, allocations: 81.11 kB / 484.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1574, allocations: 141.8 kB / 484.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1574, allocations: 25.7 kB / 484.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.1574, allocations: 100.1 kB / 484.5 MB, free: 428 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.1575, allocations: 19.72 kB / 484.5 MB, free: 408 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.1575, allocations: 13.72 kB / 484.5 MB, free: 388 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1577, allocations: 326.8 kB / 484.8 MB, free: 52 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.328e-05/0.1577, allocations: 19.98 kB / 484.8 MB, free: 32 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.1579, allocations: 45.69 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1581, allocations: 56.86 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1581, allocations: 0 / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001961/0.1583, allocations: 81.66 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1583, allocations: 6.344 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1583, allocations: 0 / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1583, allocations: 0 / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.1584, allocations: 12 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1584, allocations: 7.922 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.1585, allocations: 8 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.1585, allocations: 11.92 kB / 485.1 MB, free: 15.79 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 (5): * Single equations (assignments): 5 * 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 9.337e-05/0.1586, allocations: 113.8 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.1586, allocations: 7.906 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.1589, allocations: 97.95 kB / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1589, allocations: 0 / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1589, allocations: 0 / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1589, allocations: 0 / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005232/0.1594, allocations: 366.3 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1594, allocations: 0 / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-05/0.1595, allocations: 16.3 kB / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1595, allocations: 0 / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1595, allocations: 4 kB / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.1595, allocations: 11.88 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1596, allocations: 0 / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.1599, allocations: 187.4 kB / 485.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.69e-05/0.16, allocations: 81.11 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.16, allocations: 288 / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.1601, allocations: 15.92 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.1602, allocations: 0 / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.1602, allocations: 4 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.706e-05/0.1603, allocations: 119.2 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1603, allocations: 0 / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.1606, allocations: 39.98 kB / 486.1 MB, free: 14.64 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 (5): * Single equations (assignments): 5 * 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.001137/0.1617, allocations: 492 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.1619, allocations: 59.89 kB / 486.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.162, allocations: 3.938 kB / 486.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.443e-05/0.162, allocations: 23.98 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.1624, allocations: 19.98 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.1629, allocations: 193.3 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.1632, allocations: 0.6963 MB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.064e-05/0.1632, allocations: 19.97 kB / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.1633, allocations: 19.42 kB / 487.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1633, allocations: 0 / 487.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of Templates: time 0.004513/0.1678, allocations: 1.753 MB / 489.4 MB, free: 11.49 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches