Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 108.3 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2214/0.2214, allocations: 44.18 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 63.44 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1417, allocations: 60.84 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003382/0.1451, allocations: 1.602 MB / 470.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008213/0.1459, allocations: 403.3 kB / 470.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.428e-05/0.146, allocations: 0 / 470.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.1463, allocations: 19.92 kB / 470.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.1465, allocations: 31.91 kB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.1468, allocations: 71.86 kB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.1469, allocations: 67.77 kB / 470.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.147, allocations: 7.984 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.533e-05/0.1471, allocations: 15.94 kB / 470.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.552e-05/0.1472, allocations: 23.86 kB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.1472, allocations: 0 / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.643e-05/0.1473, allocations: 27.97 kB / 470.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.1474, allocations: 15.88 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.1474, allocations: 23.86 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1476, allocations: 75.8 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1476, allocations: 0 / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.1476, allocations: 0 / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1476, allocations: 0 / 470.9 MB, free: 12.45 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.000496/0.1481, allocations: 383.4 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1482, allocations: 8.031 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.1482, allocations: 8.844 kB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.1485, allocations: 187.2 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1485, allocations: 8.375 kB / 471.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1485, allocations: 4.375 kB / 471.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1487, allocations: 57.73 kB / 471.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1487, allocations: 3.938 kB / 471.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1487, allocations: 0 / 471.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1487, allocations: 0 / 471.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.994e-05/0.1488, allocations: 19.98 kB / 471.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.1492, allocations: 276.8 kB / 471.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.1494, allocations: 50.5 kB / 471.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.1495, allocations: 16.94 kB / 471.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.1495, allocations: 0 / 471.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1496, allocations: 30.56 kB / 471.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.1496, allocations: 0 / 471.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005497/0.1501, allocations: 149.3 kB / 472.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.1502, allocations: 51.41 kB / 472.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.1503, allocations: 149.7 kB / 472.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1503, allocations: 29.7 kB / 472.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.1504, allocations: 92.12 kB / 472.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.1504, allocations: 15.81 kB / 472.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.1505, allocations: 25.7 kB / 472.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1506, allocations: 318.8 kB / 472.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.731e-05/0.1507, allocations: 19.92 kB / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.623e-05/0.1507, allocations: 19.98 kB / 472.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.1509, allocations: 48.77 kB / 472.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1509, allocations: 0 / 472.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000176/0.1511, allocations: 81.58 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1511, allocations: 4 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1511, allocations: 0 / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1511, allocations: 4 kB / 472.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.1512, allocations: 11.98 kB / 472.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1512, allocations: 3.984 kB / 472.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.063e-05/0.1512, allocations: 8.234 kB / 472.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1512, allocations: 3.938 kB / 472.9 MB, free: 10.18 MB / 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 0.0001012/0.1514, allocations: 130.3 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.1514, allocations: 7.906 kB / 473.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.1516, allocations: 89.91 kB / 473.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1516, allocations: 0 / 473.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1516, allocations: 4 kB / 473.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1516, allocations: 0 / 473.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.1521, allocations: 358.4 kB / 473.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1521, allocations: 0 / 473.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.047e-05/0.1521, allocations: 8 kB / 473.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1522, allocations: 0 / 473.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1522, allocations: 0 / 473.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.1522, allocations: 7.938 kB / 473.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1522, allocations: 3.938 kB / 473.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.1524, allocations: 179.4 kB / 473.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.1524, allocations: 81.02 kB / 473.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1525, allocations: 0 / 473.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.634e-05/0.1525, allocations: 11.92 kB / 473.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.1526, allocations: 7.938 kB / 473.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1526, allocations: 4 kB / 473.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.1527, allocations: 117.3 kB / 473.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1527, allocations: 0 / 473.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.153, allocations: 20 kB / 474 MB, free: 9.062 MB / 350.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.000883/0.1539, allocations: 398.6 kB / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.1541, allocations: 43.97 kB / 474.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1541, allocations: 3.938 kB / 474.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.203e-05/0.1542, allocations: 27.92 kB / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.1545, allocations: 11.98 kB / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.1549, allocations: 207.2 kB / 474.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.1551, allocations: 0.6926 MB / 475.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.188e-05/0.1552, allocations: 8 kB / 475.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.1552, allocations: 11.44 kB / 475.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1552, allocations: 0 / 475.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of Templates: time 0.003342/0.1586, allocations: 1.041 MB / 476.4 MB, free: 6.73 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches