Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 103.4 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.3 MB, free: 9.145 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2461/0.2461, allocations: 46.1 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 75.84 kB / 416.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1402, allocations: 62.43 MB / 479.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.004454/0.1447, allocations: 1.793 MB / 481.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.1473, allocations: 1.021 MB / 482.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.504e-05/0.1474, allocations: 3.938 kB / 482.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.1477, allocations: 27.92 kB / 482.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.1482, allocations: 79.73 kB / 482.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.1484, allocations: 63.81 kB / 482.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.1486, allocations: 103.7 kB / 482.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1488, allocations: 8 kB / 482.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.1489, allocations: 39.78 kB / 482.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.799e-05/0.149, allocations: 39.72 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.149, allocations: 4 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1492, allocations: 39.98 kB / 482.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.363e-05/0.1493, allocations: 23.91 kB / 482.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.184e-05/0.1494, allocations: 27.81 kB / 482.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.1496, allocations: 111.9 kB / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1497, allocations: 0 / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1497, allocations: 0 / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1497, allocations: 4 kB / 482.7 MB, free: 2.309 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006939/0.1504, allocations: 417.2 kB / 483.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1504, allocations: 8.875 kB / 483.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.1505, allocations: 16.75 kB / 483.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.1508, allocations: 204.1 kB / 483.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1509, allocations: 8.375 kB / 483.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.1509, allocations: 4.125 kB / 483.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.1511, allocations: 53.67 kB / 483.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1511, allocations: 8 kB / 483.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1511, allocations: 0 / 483.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1512, allocations: 0 / 483.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.1513, allocations: 19.92 kB / 483.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.1518, allocations: 284.9 kB / 483.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.1521, allocations: 58.67 kB / 483.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.666e-05/0.1521, allocations: 24.84 kB / 483.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.1522, allocations: 0 / 483.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.1524, allocations: 75.33 kB / 483.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.1524, allocations: 0 / 483.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007652/0.1532, allocations: 173.2 kB / 484 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.1532, allocations: 51.41 kB / 484 MB, free: 0.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.1535, allocations: 187.3 kB / 484.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.1536, allocations: 25.7 kB / 484.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.1536, allocations: 108 kB / 484.4 MB, free: 424 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.1537, allocations: 31.66 kB / 484.4 MB, free: 392 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.1538, allocations: 25.72 kB / 484.4 MB, free: 360 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1539, allocations: 326.8 kB / 484.7 MB, free: 24 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.58e-05/0.154, allocations: 19.98 kB / 484.8 MB, free: 4 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.1542, allocations: 41.7 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.1544, allocations: 53.66 kB / 484.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1544, allocations: 0 / 484.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003005/0.1547, allocations: 109.4 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1547, allocations: 6.656 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1547, allocations: 0 / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1548, allocations: 0 / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1549, allocations: 24.02 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1549, allocations: 0 / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-05/0.155, allocations: 3.938 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.155, allocations: 4 kB / 485 MB, free: 15.75 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 (10): * Single equations (assignments): 10 * 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.000129/0.1552, allocations: 128.8 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.1552, allocations: 11.89 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.281e-05/0.1553, allocations: 17.41 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1553, allocations: 0 / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1553, allocations: 0 / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1553, allocations: 7.938 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006179/0.1559, allocations: 399.2 kB / 485.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1559, allocations: 0 / 485.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.142e-05/0.156, allocations: 11.94 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.156, allocations: 0 / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.156, allocations: 3.938 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1561, allocations: 4 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1561, allocations: 0 / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.1564, allocations: 200.3 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/0.1565, allocations: 89.38 kB / 485.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.1565, allocations: 3.938 kB / 485.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.1567, allocations: 12 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.1567, allocations: 7.969 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.1568, allocations: 4 kB / 485.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.157, allocations: 143.9 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.157, allocations: 3.938 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004712/0.1574, allocations: 28.17 kB / 486 MB, free: 14.59 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: 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 (8): * Single equations (assignments): 6 * 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.001606/0.1591, allocations: 458.2 kB / 486.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.1594, allocations: 55.91 kB / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1594, allocations: 0 / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.1595, allocations: 28 kB / 486.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.1601, allocations: 28.81 kB / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006228/0.1607, allocations: 252.9 kB / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.1612, allocations: 0.7043 MB / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.707e-05/0.1613, allocations: 16.88 kB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.1613, allocations: 15.44 kB / 487.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1613, allocations: 4 kB / 487.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of Templates: time 0.006555/0.1679, allocations: 1.644 MB / 489.2 MB, free: 11.52 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches