Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 103.3 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.001151/0.001151, 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.405/1.405, allocations: 227.4 MB / 246.3 MB, free: 10.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2196/0.2196, allocations: 46.1 MB / 343.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001387, allocations: 75.69 kB / 416.9 MB, free: 20.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1336, allocations: 62.45 MB / 479.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003933/0.1376, allocations: 1.882 MB / 481.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.1398, allocations: 1.092 MB / 482.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.14, allocations: 3.938 kB / 482.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005332/0.1405, allocations: 295.4 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005592/0.1411, allocations: 227.4 kB / 482.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.1415, allocations: 83.86 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.1418, allocations: 251.3 kB / 483.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.557e-05/0.1419, allocations: 13.67 kB / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.1421, allocations: 119.5 kB / 483.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.1424, allocations: 199.9 kB / 483.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.1424, allocations: 4 kB / 483.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1426, allocations: 35.98 kB / 483.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.1428, allocations: 140.5 kB / 483.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.1429, allocations: 142.8 kB / 483.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.1433, allocations: 359 kB / 484.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1433, allocations: 0 / 484.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1433, allocations: 0 / 484.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1433, allocations: 0 / 484.1 MB, free: 0.9492 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001067/0.1444, allocations: 0.7269 MB / 484.8 MB, free: 176 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1445, allocations: 12.88 kB / 484.8 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.1446, allocations: 48.28 kB / 484.9 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007043/0.1453, allocations: 451.7 kB / 485.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1453, allocations: 8.375 kB / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.1454, allocations: 4.125 kB / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.1456, allocations: 91.34 kB / 485.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1456, allocations: 0 / 485.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1456, allocations: 4 kB / 485.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1456, allocations: 0 / 485.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.1458, allocations: 35.91 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.1462, allocations: 370.4 kB / 485.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.1465, allocations: 109.2 kB / 485.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.1466, allocations: 45.58 kB / 486 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.1467, allocations: 0 / 486 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/0.147, allocations: 109.1 kB / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.147, allocations: 4 kB / 486.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005016/0.1475, allocations: 200.9 kB / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.1476, allocations: 77.11 kB / 486.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.1487, allocations: 1.022 MB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1487, allocations: 37.64 kB / 487.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.1489, allocations: 236 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.1489, allocations: 23.66 kB / 487.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.149, allocations: 33.7 kB / 487.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1492, allocations: 366.8 kB / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.1493, allocations: 28.48 kB / 488.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.1494, allocations: 59.41 kB / 488.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.1496, allocations: 91.36 kB / 488.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.1496, allocations: 0 / 488.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003401/0.15, allocations: 172.9 kB / 488.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.15, allocations: 4 kB / 488.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.15, allocations: 4 kB / 488.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.15, allocations: 0 / 488.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1501, allocations: 23.92 kB / 488.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1502, allocations: 8.047 kB / 488.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.1503, allocations: 15.91 kB / 488.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.1503, allocations: 4 kB / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002003/0.1505, allocations: 221.7 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.1506, allocations: 47.44 kB / 488.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.199e-05/0.1507, allocations: 60.09 kB / 488.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1507, allocations: 0 / 488.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1507, allocations: 0 / 488.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1507, allocations: 0 / 488.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.151, allocations: 357.2 kB / 489.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.151, allocations: 0 / 489.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.151, allocations: 11.94 kB / 489.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1511, allocations: 128 / 489.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.1511, allocations: 11.98 kB / 489.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1511, allocations: 3.938 kB / 489.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1511, allocations: 0 / 489.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.1514, allocations: 209.2 kB / 489.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.1516, allocations: 132.5 kB / 489.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.1516, allocations: 4 kB / 489.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.1517, allocations: 7.984 kB / 489.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.1518, allocations: 11.98 kB / 489.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.1518, allocations: 4 kB / 489.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000779/0.1526, allocations: 0.7604 MB / 490.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1526, allocations: 3.938 kB / 490.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1529, allocations: 43.98 kB / 490.3 MB, free: 10.32 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001058/0.154, allocations: 407.3 kB / 490.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.1542, allocations: 79.84 kB / 490.8 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1543, allocations: 0 / 490.8 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.1544, allocations: 43.97 kB / 490.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.1548, allocations: 70.19 kB / 490.9 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.1562, allocations: 0.9504 MB / 491.9 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.1567, allocations: 0.8507 MB / 492.7 MB, free: 8.008 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.1568, allocations: 54.95 kB / 492.8 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.085e-05/0.1569, allocations: 27.42 kB / 492.8 MB, free: 7.93 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1569, allocations: 4 kB / 492.8 MB, free: 7.926 MB / 366.1 MB Notification: Performance of Templates: time 0.007994/0.1649, allocations: 3.549 MB / 496.4 MB, free: 4.387 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches