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.001502/0.001502, allocations: 105.2 kB / 17.2 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.001233/0.001233, 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.431/1.431, allocations: 227.4 MB / 246.3 MB, free: 10.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002137, allocations: 75.33 kB / 416.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1473, allocations: 62.44 MB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003012/0.1504, allocations: 1.673 MB / 481 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009908/0.1514, allocations: 0.5339 MB / 481.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.16e-05/0.1514, allocations: 0 / 481.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.1517, allocations: 95.73 kB / 481.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.152, allocations: 91.77 kB / 481.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.1523, allocations: 87.83 kB / 481.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.1524, allocations: 75.77 kB / 481.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1525, allocations: 19.97 kB / 481.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.395e-05/0.1526, allocations: 27.92 kB / 481.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1527, allocations: 59.81 kB / 481.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1527, allocations: 0 / 481.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.553e-05/0.1528, allocations: 43.98 kB / 482 MB, free: 3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.1529, allocations: 23.86 kB / 482 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.153, allocations: 43.66 kB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.1531, allocations: 99.72 kB / 482.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1532, allocations: 3.938 kB / 482.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1532, allocations: 0 / 482.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1532, allocations: 0 / 482.2 MB, free: 2.832 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.0005215/0.1537, allocations: 431.1 kB / 482.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1537, allocations: 8.875 kB / 482.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.1538, allocations: 16.75 kB / 482.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.154, allocations: 200.6 kB / 482.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.154, allocations: 384 / 482.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.154, allocations: 4.375 kB / 482.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.1542, allocations: 61.73 kB / 482.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1542, allocations: 0 / 482.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1542, allocations: 0 / 482.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1542, allocations: 0 / 482.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.208e-05/0.1543, allocations: 31.97 kB / 482.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.1547, allocations: 300.7 kB / 483.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.1548, allocations: 42.5 kB / 483.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.816e-05/0.1549, allocations: 20.94 kB / 483.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.1549, allocations: 4 kB / 483.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.1549, allocations: 30.56 kB / 483.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.1549, allocations: 4 kB / 483.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008605/0.1558, allocations: 233.2 kB / 483.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.1559, allocations: 51.41 kB / 483.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.1561, allocations: 234.6 kB / 483.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1561, allocations: 25.7 kB / 483.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.1562, allocations: 108.1 kB / 483.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.1562, allocations: 31.61 kB / 484 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.1563, allocations: 25.66 kB / 484 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1564, allocations: 326.8 kB / 484.3 MB, free: 484 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.269e-05/0.1565, allocations: 27.98 kB / 484.3 MB, free: 456 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.521e-05/0.1566, allocations: 23.98 kB / 484.4 MB, free: 432 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.1567, allocations: 60.83 kB / 484.4 MB, free: 368 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1567, allocations: 0 / 484.4 MB, free: 368 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002044/0.1569, allocations: 101.6 kB / 484.5 MB, free: 260 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1569, allocations: 6.969 kB / 484.5 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.157, allocations: 4 kB / 484.5 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.157, allocations: 0 / 484.5 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/0.1571, allocations: 23.92 kB / 484.5 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1571, allocations: 0 / 484.5 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.1571, allocations: 7.938 kB / 484.6 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.1571, allocations: 4 kB / 484.6 MB, free: 216 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 9.572e-05/0.1572, allocations: 129.8 kB / 484.7 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.1573, allocations: 15.81 kB / 484.7 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.1576, allocations: 127 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1576, allocations: 0 / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1576, allocations: 0 / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1576, allocations: 7.875 kB / 484.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.1581, allocations: 411.2 kB / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1581, allocations: 0 / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.1582, allocations: 15.98 kB / 485.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.1582, allocations: 7.938 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.1582, allocations: 4 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1582, allocations: 480 / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1582, allocations: 0 / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.1585, allocations: 220.2 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.1586, allocations: 88.86 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.1587, allocations: 4 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.144e-05/0.1588, allocations: 7.984 kB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.1588, allocations: 4 kB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.1588, allocations: 4 kB / 485.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.159, allocations: 180.3 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.134e-06/0.159, allocations: 0 / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1593, allocations: 27.94 kB / 485.8 MB, free: 14.87 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.0009752/0.1602, allocations: 440.2 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.1605, allocations: 71.89 kB / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1605, allocations: 0 / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.191e-05/0.1606, allocations: 31.98 kB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1609, allocations: 20.86 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.1614, allocations: 312.7 kB / 486.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.1616, allocations: 0.7062 MB / 487.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.226e-05/0.1617, allocations: 24.95 kB / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.1617, allocations: 15.44 kB / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1617, allocations: 0 / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of Templates: time 0.004162/0.1659, allocations: 1.306 MB / 488.7 MB, free: 12.06 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