Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001625/0.001626, allocations: 108.5 kB / 17.85 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002007, allocations: 213.7 kB / 18.79 MB, free: 4.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.207/2.207, allocations: 227.4 MB / 246.9 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3547/0.3547, allocations: 46.1 MB / 344.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002484/0.002484, allocations: 75.22 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1396, allocations: 62.45 MB / 479.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.004819/0.1445, allocations: 1.75 MB / 481.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.1472, allocations: 0.9901 MB / 482.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1473, allocations: 3.938 kB / 482.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004052/0.1477, allocations: 59.86 kB / 482.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004293/0.1482, allocations: 87.72 kB / 482.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.1485, allocations: 59.83 kB / 482.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.1488, allocations: 103.7 kB / 483 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.867e-05/0.1489, allocations: 12.23 kB / 483 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.149, allocations: 39.78 kB / 483 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.1491, allocations: 47.77 kB / 483.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.1492, allocations: 7.938 kB / 483.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1493, allocations: 27.98 kB / 483.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.71e-05/0.1494, allocations: 15.98 kB / 483.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.733e-05/0.1495, allocations: 31.73 kB / 483.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1497, allocations: 80.12 kB / 483.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1497, allocations: 0 / 483.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1497, allocations: 4 kB / 483.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.1497, allocations: 3.938 kB / 483.3 MB, free: 2.375 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006787/0.1504, allocations: 406.9 kB / 483.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1505, allocations: 12.88 kB / 483.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.1506, allocations: 8.844 kB / 483.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.1509, allocations: 220.8 kB / 483.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1509, allocations: 384 / 483.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.151, allocations: 8.125 kB / 483.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.1512, allocations: 49.67 kB / 484 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1512, allocations: 0 / 484 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1512, allocations: 0 / 484 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1513, allocations: 0 / 484 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.1514, allocations: 15.98 kB / 484 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.1517, allocations: 185.6 kB / 484.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.1519, allocations: 50.62 kB / 484.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.457e-05/0.152, allocations: 28.78 kB / 484.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.1521, allocations: 0 / 484.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.1524, allocations: 59.39 kB / 484.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.833e-06/0.1524, allocations: 0 / 484.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004246/0.1528, allocations: 105.4 kB / 484.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.1529, allocations: 55.39 kB / 484.4 MB, free: 1.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.1532, allocations: 198.9 kB / 484.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.1532, allocations: 25.7 kB / 484.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.1533, allocations: 100.1 kB / 484.8 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.1533, allocations: 19.83 kB / 484.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/0.1534, allocations: 17.72 kB / 484.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1536, allocations: 322.8 kB / 485.1 MB, free: 316 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.136e-05/0.1537, allocations: 12 kB / 485.1 MB, free: 304 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.731e-05/0.1538, allocations: 33.7 kB / 485.2 MB, free: 264 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.154, allocations: 49.64 kB / 485.2 MB, free: 208 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.154, allocations: 0 / 485.2 MB, free: 208 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002712/0.1543, allocations: 81.44 kB / 485.3 MB, free: 120 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.1543, allocations: 11.94 kB / 485.3 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.1543, allocations: 0 / 485.3 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1543, allocations: 0 / 485.3 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1545, allocations: 12.02 kB / 485.3 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1545, allocations: 4 kB / 485.3 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.898e-05/0.1546, allocations: 4 kB / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.1546, allocations: 4 kB / 485.3 MB, free: 84 kB / 350.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 (7): * Single equations (assignments): 7 * 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.0001688/0.1548, allocations: 125.8 kB / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.1548, allocations: 11.81 kB / 485.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.342e-05/0.1549, allocations: 13 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.1549, allocations: 0 / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.1549, allocations: 0 / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.155, allocations: 11.98 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.1552, allocations: 189.5 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1552, allocations: 4 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-05/0.1552, allocations: 0 / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.1553, allocations: 4 kB / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.1553, allocations: 4.312 kB / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1553, allocations: 7.922 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1553, allocations: 4 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.1556, allocations: 105 kB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.242e-05/0.1557, allocations: 92.98 kB / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.1557, allocations: 4 kB / 485.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.685e-05/0.1558, allocations: 4 kB / 485.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.1559, allocations: 0 / 485.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.1559, allocations: 7.984 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.1561, allocations: 148.8 kB / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1561, allocations: 3.938 kB / 486 MB, free: 15.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004231/0.1566, allocations: 19.98 kB / 486.1 MB, free: 15.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001564/0.1581, allocations: 410.9 kB / 486.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.1584, allocations: 39.92 kB / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1584, allocations: 0 / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.964e-05/0.1585, allocations: 19.98 kB / 486.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.159, allocations: 31.16 kB / 486.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006434/0.1596, allocations: 257.4 kB / 486.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.16, allocations: 0.7004 MB / 487.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.1601, allocations: 19.42 kB / 487.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1601, allocations: 0 / 487.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of Templates: time 0.005307/0.1654, allocations: 1.708 MB / 489.2 MB, free: 12.14 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches