Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009303/0.0009301, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.211/0.211, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000238/0.000238, allocations: 12 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 63.56 MB / 483.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002273/0.1433, allocations: 1.442 MB / 484.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1452, allocations: 0.9941 MB / 485.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.987e-05/0.1453, allocations: 0 / 485.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.1456, allocations: 39.84 kB / 485.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.146, allocations: 79.73 kB / 485.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.1462, allocations: 59.88 kB / 485.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.1464, allocations: 103.6 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1465, allocations: 12 kB / 485.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.1466, allocations: 39.78 kB / 485.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.1467, allocations: 31.8 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1467, allocations: 3.984 kB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.1468, allocations: 39.98 kB / 485.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.084e-05/0.1468, allocations: 23.86 kB / 486 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.65e-05/0.1469, allocations: 49.52 kB / 486 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1471, allocations: 115.9 kB / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1471, allocations: 0 / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.1471, allocations: 0 / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1471, allocations: 3.938 kB / 486.1 MB, free: 1.074 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.0005697/0.1477, allocations: 391.2 kB / 486.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1478, allocations: 16.8 kB / 486.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.1478, allocations: 16.75 kB / 486.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.1481, allocations: 204.1 kB / 486.7 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.1481, allocations: 12.3 kB / 486.7 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.1481, allocations: 8.125 kB / 486.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1483, allocations: 53.67 kB / 486.8 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1483, allocations: 4 kB / 486.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1483, allocations: 3.984 kB / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1483, allocations: 0 / 486.8 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.014e-05/0.1484, allocations: 19.98 kB / 486.8 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.1488, allocations: 284.9 kB / 487.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.149, allocations: 58.62 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.1491, allocations: 20.84 kB / 487.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1491, allocations: 0 / 487.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.1493, allocations: 67.39 kB / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1493, allocations: 0 / 487.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005532/0.1499, allocations: 181.2 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.1499, allocations: 51.41 kB / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.1501, allocations: 180 kB / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.1501, allocations: 33.64 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.1502, allocations: 104 kB / 487.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.1503, allocations: 19.75 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.1503, allocations: 17.72 kB / 487.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1505, allocations: 322.8 kB / 488.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.29e-05/0.1505, allocations: 31.92 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.213e-05/0.1506, allocations: 37.7 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.1508, allocations: 53.7 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1508, allocations: 0 / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002309/0.1511, allocations: 109.4 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1511, allocations: 4 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.1511, allocations: 4.031 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1511, allocations: 0 / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.714e-05/0.1512, allocations: 19.98 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1512, allocations: 0 / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.1513, allocations: 4.312 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1513, allocations: 4 kB / 488.4 MB, free: 14.55 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.000124/0.1515, allocations: 130 kB / 488.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.1515, allocations: 11.91 kB / 488.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.1515, allocations: 21.34 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1515, allocations: 4 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.1516, allocations: 0 / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.1516, allocations: 7.922 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.152, allocations: 391.2 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.152, allocations: 0 / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.1521, allocations: 8 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1521, allocations: 0 / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.1521, allocations: 15.95 kB / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1521, allocations: 0 / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1521, allocations: 0 / 489 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.1524, allocations: 204.2 kB / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/0.1524, allocations: 88.92 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.1525, allocations: 7.938 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.1526, allocations: 7.984 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.449e-05/0.1526, allocations: 8 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.1526, allocations: 4 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1528, allocations: 142.7 kB / 489.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1528, allocations: 0 / 489.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.153, allocations: 28 kB / 489.5 MB, free: 13.38 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.001142/0.1542, allocations: 461.8 kB / 489.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.1544, allocations: 55.92 kB / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1544, allocations: 0 / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.551e-05/0.1545, allocations: 31.92 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.1549, allocations: 23.98 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005104/0.1555, allocations: 250.4 kB / 490.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.1559, allocations: 0.7082 MB / 491 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.802e-05/0.156, allocations: 16.88 kB / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/0.156, allocations: 19.42 kB / 491 MB, free: 11.94 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.156, allocations: 0 / 491 MB, free: 11.94 MB / 366.1 MB Notification: Performance of Templates: time 0.005108/0.1611, allocations: 1.633 MB / 492.6 MB, free: 10.32 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches