Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2201/0.2201, allocations: 46.11 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 81.41 kB / 417.1 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1398, allocations: 62.44 MB / 479.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00608/0.146, allocations: 1.819 MB / 481.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.148, allocations: 1.025 MB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.1482, allocations: 0 / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004556/0.1487, allocations: 111.7 kB / 482.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004616/0.1492, allocations: 107.7 kB / 482.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.1495, allocations: 71.75 kB / 482.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.1499, allocations: 131.7 kB / 482.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.15, allocations: 21.34 kB / 482.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.1502, allocations: 67.75 kB / 482.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.1505, allocations: 79.67 kB / 482.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.1505, allocations: 8 kB / 482.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.1507, allocations: 55.98 kB / 483 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.1508, allocations: 35.89 kB / 483 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.151, allocations: 51.62 kB / 483.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000438/0.1514, allocations: 155.8 kB / 483.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1514, allocations: 4 kB / 483.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.506e-06/0.1515, allocations: 0 / 483.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.1515, allocations: 4 kB / 483.2 MB, free: 1.828 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008073/0.1523, allocations: 458.6 kB / 483.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1523, allocations: 8.031 kB / 483.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.1524, allocations: 24.67 kB / 483.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.1527, allocations: 225 kB / 483.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1527, allocations: 4.359 kB / 483.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.1528, allocations: 8.125 kB / 483.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.153, allocations: 73.59 kB / 484 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.153, allocations: 8 kB / 484 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.153, allocations: 0 / 484 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1531, allocations: 4 kB / 484 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.1532, allocations: 39.91 kB / 484.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.1537, allocations: 324.6 kB / 484.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.154, allocations: 78.53 kB / 484.5 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.798e-05/0.1541, allocations: 24.86 kB / 484.5 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.1541, allocations: 7.938 kB / 484.5 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000277/0.1544, allocations: 79.31 kB / 484.6 MB, free: 332 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.1544, allocations: 4 kB / 484.6 MB, free: 328 kB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009979/0.1554, allocations: 301 kB / 484.9 MB, free: 20 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.1555, allocations: 55.41 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.1558, allocations: 263.6 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.1558, allocations: 33.7 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.902e-05/0.1559, allocations: 108.1 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.156, allocations: 43.45 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.156, allocations: 33.7 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1562, allocations: 326.8 kB / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.919e-05/0.1563, allocations: 35.98 kB / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.867e-05/0.1564, allocations: 61.69 kB / 485.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.1566, allocations: 105.6 kB / 485.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1566, allocations: 4 kB / 485.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002923/0.1569, allocations: 160.8 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1569, allocations: 4 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1569, allocations: 3.938 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1569, allocations: 8.812 kB / 486.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1571, allocations: 27.98 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.1571, allocations: 112 / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.875e-05/0.1571, allocations: 11.94 kB / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1572, allocations: 4 kB / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001272/0.1573, allocations: 137.8 kB / 486.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.1573, allocations: 15.81 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.431e-05/0.1574, allocations: 25.52 kB / 486.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1574, allocations: 7.938 kB / 486.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1574, allocations: 7.938 kB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1575, allocations: 0 / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006487/0.1581, allocations: 0.4999 MB / 486.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1581, allocations: 0 / 486.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.1582, allocations: 19.94 kB / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.1582, allocations: 8.047 kB / 486.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.1582, allocations: 4 kB / 486.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1582, allocations: 4 kB / 486.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1582, allocations: 0 / 486.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.1586, allocations: 264.9 kB / 487.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.716e-05/0.1587, allocations: 92.92 kB / 487.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.1587, allocations: 8 kB / 487.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-05/0.1588, allocations: 7.984 kB / 487.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.1588, allocations: 11.94 kB / 487.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.1589, allocations: 7.984 kB / 487.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.1591, allocations: 197.5 kB / 487.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1591, allocations: 0 / 487.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.1594, allocations: 35.98 kB / 487.5 MB, free: 13.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001217/0.1606, allocations: 0.4967 MB / 488 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002718/0.1609, allocations: 111.8 kB / 488.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1609, allocations: 0 / 488.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.161, allocations: 51.92 kB / 488.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.1614, allocations: 49.89 kB / 488.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006508/0.1621, allocations: 372.9 kB / 488.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1624, allocations: 0.7318 MB / 489.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.219e-05/0.1625, allocations: 25.41 kB / 489.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.1626, allocations: 19.44 kB / 489.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1626, allocations: 0 / 489.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of Templates: time 0.005509/0.1681, allocations: 2.163 MB / 491.5 MB, free: 9.379 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches