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.001145/0.001145, allocations: 109.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 212.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.09 MB / 344.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 80.36 kB / 418.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1279, allocations: 62.45 MB / 480.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003548/0.1315, allocations: 1.762 MB / 482.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.1331, allocations: 1.033 MB / 483.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.368e-05/0.1332, allocations: 7.875 kB / 483.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.1336, allocations: 107.7 kB / 483.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003276/0.1339, allocations: 127.5 kB / 483.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.1342, allocations: 79.72 kB / 483.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.1344, allocations: 139.6 kB / 484 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1345, allocations: 17.41 kB / 484 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.1346, allocations: 67.75 kB / 484 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1348, allocations: 75.73 kB / 484.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.1348, allocations: 4 kB / 484.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.1349, allocations: 59.98 kB / 484.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.135, allocations: 23.92 kB / 484.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.921e-05/0.1351, allocations: 59.59 kB / 484.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.1353, allocations: 155.8 kB / 484.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1354, allocations: 0 / 484.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1354, allocations: 3.938 kB / 484.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1354, allocations: 0 / 484.4 MB, free: 1.527 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.0006426/0.136, allocations: 466.7 kB / 484.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1361, allocations: 8.031 kB / 484.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.799e-05/0.1361, allocations: 16.75 kB / 484.9 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.1364, allocations: 221 kB / 485.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1364, allocations: 4.375 kB / 485.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.1365, allocations: 8.125 kB / 485.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.1366, allocations: 81.47 kB / 485.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1367, allocations: 4 kB / 485.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1367, allocations: 0 / 485.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1367, allocations: 3.938 kB / 485.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1368, allocations: 39.97 kB / 485.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.1373, allocations: 336.6 kB / 485.6 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.1376, allocations: 82.47 kB / 485.7 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.441e-05/0.1376, allocations: 24.84 kB / 485.7 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1377, allocations: 4 kB / 485.7 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.1379, allocations: 79.38 kB / 485.8 MB, free: 12 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.1379, allocations: 0 / 485.8 MB, free: 12 kB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009235/0.1388, allocations: 289.1 kB / 486 MB, free: 15.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.1389, allocations: 59.41 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.1392, allocations: 263.6 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1392, allocations: 33.7 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.1393, allocations: 116.1 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.1394, allocations: 47.36 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-05/0.1394, allocations: 25.72 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1396, allocations: 334.8 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.6e-05/0.1397, allocations: 39.92 kB / 486.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.1398, allocations: 57.7 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.14, allocations: 102.5 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.14, allocations: 4 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002764/0.1403, allocations: 164.7 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1403, allocations: 4 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1403, allocations: 4.109 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1403, allocations: 11.86 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.909e-05/0.1404, allocations: 20 kB / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.1404, allocations: 12.02 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.1405, allocations: 4 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.1405, allocations: 7.938 kB / 487.3 MB, free: 14.38 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.0001209/0.1406, allocations: 137.8 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.1407, allocations: 15.81 kB / 487.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.967e-05/0.1407, allocations: 29.52 kB / 487.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1407, allocations: 3.938 kB / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1408, allocations: 0 / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1408, allocations: 0 / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.1414, allocations: 0.5038 MB / 488 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1414, allocations: 3.984 kB / 488 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.1414, allocations: 16 kB / 488 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1415, allocations: 0 / 488 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.1415, allocations: 4 kB / 488 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1415, allocations: 7.922 kB / 488 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1415, allocations: 8.062 kB / 488.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.1418, allocations: 260.9 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.1419, allocations: 92.92 kB / 488.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.1419, allocations: 4 kB / 488.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.989e-05/0.142, allocations: 8 kB / 488.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.1421, allocations: 11.98 kB / 488.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.1421, allocations: 4 kB / 488.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.1423, allocations: 201.4 kB / 488.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1423, allocations: 0 / 488.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1426, allocations: 32 kB / 488.7 MB, free: 12.94 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.001176/0.1437, allocations: 0.5114 MB / 489.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.144, allocations: 111.8 kB / 489.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.144, allocations: 0 / 489.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1441, allocations: 51.92 kB / 489.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.1445, allocations: 35.53 kB / 489.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006212/0.1451, allocations: 361.6 kB / 489.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.1454, allocations: 0.7318 MB / 490.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.1455, allocations: 19.44 kB / 490.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1455, allocations: 0 / 490.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of Templates: time 0.004898/0.1504, allocations: 2.521 MB / 493 MB, free: 8.734 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches