Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001677/0.00167, allocations: 105.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001958/0.001958, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.242/0.242, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 79.84 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1452, allocations: 62.45 MB / 480 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.004163/0.1495, allocations: 1.72 MB / 481.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.1521, allocations: 1.627 MB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.178e-05/0.1523, allocations: 0 / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.1526, allocations: 35.77 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003656/0.153, allocations: 99.53 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.1532, allocations: 75.69 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.1535, allocations: 119.7 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1536, allocations: 19.98 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.796e-05/0.1537, allocations: 43.78 kB / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.1539, allocations: 47.77 kB / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.1539, allocations: 8 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.1542, allocations: 111.9 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.627e-05/0.1543, allocations: 23.91 kB / 484 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.567e-05/0.1543, allocations: 27.81 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.1547, allocations: 191.7 kB / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1547, allocations: 0 / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1548, allocations: 0 / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1548, allocations: 0 / 484.2 MB, free: 1.129 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.0006491/0.1554, allocations: 431 kB / 484.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1555, allocations: 12.03 kB / 484.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.1555, allocations: 12.78 kB / 484.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.1558, allocations: 212.1 kB / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1558, allocations: 8.359 kB / 484.8 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.1559, allocations: 8.125 kB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.1561, allocations: 79.33 kB / 484.9 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1561, allocations: 0 / 484.9 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1561, allocations: 0 / 484.9 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1561, allocations: 0 / 484.9 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.185e-05/0.1562, allocations: 27.97 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.1567, allocations: 312.6 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.1569, allocations: 70.61 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.704e-05/0.157, allocations: 28.84 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.157, allocations: 0 / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.1573, allocations: 75.38 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.1573, allocations: 0 / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006449/0.1579, allocations: 197.1 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.158, allocations: 85.03 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.1582, allocations: 170.2 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.1583, allocations: 29.7 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.115e-05/0.1583, allocations: 100.1 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.1584, allocations: 27.72 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.1584, allocations: 33.7 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1586, allocations: 326.8 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.525e-05/0.1586, allocations: 20 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-05/0.1587, allocations: 54.48 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1589, allocations: 65.66 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1589, allocations: 3.938 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00021/0.1591, allocations: 121.5 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1591, allocations: 8 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1591, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1592, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1593, allocations: 19.98 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.1593, allocations: 0 / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.078e-05/0.1593, allocations: 7.938 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.1594, allocations: 4 kB / 486.7 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 (11): * Single equations (assignments): 11 * 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.000145/0.1595, allocations: 129.8 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.1595, allocations: 11.91 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.511e-05/0.1596, allocations: 12.72 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1596, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.1596, allocations: 7.984 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1596, allocations: 3.938 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.1601, allocations: 415.5 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1602, allocations: 0 / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-05/0.1602, allocations: 19.97 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1602, allocations: 0 / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.1602, allocations: 3.938 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.1602, allocations: 4 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1602, allocations: 0 / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.1605, allocations: 220.1 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.225e-05/0.1606, allocations: 81.02 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.1606, allocations: 15.94 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.1607, allocations: 3.984 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.1608, allocations: 7.984 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.1608, allocations: 7.984 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1609, allocations: 127.2 kB / 487.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1609, allocations: 0 / 487.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003239/0.1613, allocations: 51.98 kB / 487.8 MB, free: 13.17 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 (9): * Single equations (assignments): 7 * 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.001389/0.1627, allocations: 0.5481 MB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.1629, allocations: 67.91 kB / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.163, allocations: 0 / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.365e-05/0.163, allocations: 28 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.1634, allocations: 40.22 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.164, allocations: 215 kB / 488.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.1644, allocations: 0.708 MB / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.725e-05/0.1645, allocations: 24.72 kB / 489.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.1646, allocations: 23.42 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1646, allocations: 0 / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of Templates: time 0.005841/0.1704, allocations: 2.429 MB / 491.8 MB, free: 9.238 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches