Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001344, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2485/0.2485, allocations: 46.12 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003117/0.003117, allocations: 83.34 kB / 417.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1404, allocations: 62.45 MB / 480.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003468/0.1439, allocations: 1.592 MB / 481.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1449, allocations: 0.5416 MB / 482.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.145, allocations: 0 / 482.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.1452, allocations: 23.78 kB / 482.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.1455, allocations: 75.69 kB / 482.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.1459, allocations: 115.7 kB / 482.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.146, allocations: 63.83 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1461, allocations: 12 kB / 482.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.573e-05/0.1462, allocations: 27.86 kB / 482.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.1463, allocations: 19.86 kB / 482.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1463, allocations: 4 kB / 482.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.934e-05/0.1464, allocations: 31.98 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.1465, allocations: 11.98 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.1465, allocations: 23.81 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.1467, allocations: 83.7 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1467, allocations: 0 / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1467, allocations: 0 / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1467, allocations: 0 / 482.7 MB, free: 2.605 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000524/0.1472, allocations: 391.4 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1473, allocations: 8.031 kB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.1473, allocations: 12.83 kB / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.1475, allocations: 182.9 kB / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.1476, allocations: 4.375 kB / 483.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.1476, allocations: 4.375 kB / 483.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.1477, allocations: 49.8 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1478, allocations: 11.84 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1478, allocations: 4 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1478, allocations: 0 / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.291e-05/0.1479, allocations: 19.98 kB / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.1483, allocations: 284.9 kB / 483.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.1486, allocations: 50.44 kB / 483.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.936e-05/0.1486, allocations: 20.94 kB / 483.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1487, allocations: 0 / 483.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.1487, allocations: 34.56 kB / 483.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1487, allocations: 4 kB / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006416/0.1494, allocations: 157.2 kB / 483.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.1494, allocations: 51.41 kB / 484 MB, free: 1.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.1496, allocations: 156.2 kB / 484.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1496, allocations: 25.7 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.1497, allocations: 92.14 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.1497, allocations: 15.8 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.1498, allocations: 21.72 kB / 484.3 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1499, allocations: 322.8 kB / 484.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.73e-05/0.15, allocations: 19.98 kB / 484.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.971e-05/0.1501, allocations: 19.98 kB / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.1502, allocations: 56.77 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1502, allocations: 4 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002029/0.1504, allocations: 89.5 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1505, allocations: 8 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1505, allocations: 0 / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1505, allocations: 0 / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.833e-05/0.1506, allocations: 11.98 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.1506, allocations: 0 / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.279e-05/0.1506, allocations: 4 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1507, allocations: 4 kB / 484.8 MB, free: 296 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.318e-05/0.1508, allocations: 125.8 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.1508, allocations: 7.906 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.1511, allocations: 98.12 kB / 485 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1511, allocations: 4 kB / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.016e-06/0.1511, allocations: 7.969 kB / 485.1 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1511, allocations: 0 / 485.1 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.1516, allocations: 358.8 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.1516, allocations: 4 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.1517, allocations: 15.94 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1517, allocations: 0 / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1517, allocations: 3.984 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1517, allocations: 3.938 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1517, allocations: 0 / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.152, allocations: 187.4 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.152, allocations: 81.11 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.152, allocations: 0 / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.1521, allocations: 7.938 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.1522, allocations: 7.922 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1522, allocations: 4 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.616e-05/0.1523, allocations: 117.5 kB / 485.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1523, allocations: 4 kB / 485.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1525, allocations: 16 kB / 485.8 MB, free: 15.15 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001456/0.154, allocations: 402.6 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1542, allocations: 51.97 kB / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1542, allocations: 0 / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.804e-05/0.1543, allocations: 31.91 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1547, allocations: 19.38 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.1552, allocations: 190 kB / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1555, allocations: 0.7002 MB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.569e-05/0.1556, allocations: 15.97 kB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.1556, allocations: 11.44 kB / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1556, allocations: 0 / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of Templates: time 0.003958/0.1596, allocations: 1.133 MB / 488.4 MB, free: 12.69 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches