Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 108.1 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.001844/0.001844, 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.406/1.406, allocations: 222.9 MB / 241.8 MB, free: 15.36 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.2634/0.2634, allocations: 44.18 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 67.92 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1363, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003574/0.1399, allocations: 1.606 MB / 470.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009074/0.1408, allocations: 407.3 kB / 470.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.1409, allocations: 0 / 470.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.1411, allocations: 15.92 kB / 470.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.1414, allocations: 35.91 kB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.1417, allocations: 75.48 kB / 470.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1419, allocations: 59.78 kB / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.142, allocations: 11.98 kB / 470.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.556e-05/0.1421, allocations: 15.92 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.607e-05/0.1421, allocations: 23.86 kB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1422, allocations: 0 / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1423, allocations: 28 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.011e-05/0.1423, allocations: 19.91 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.1424, allocations: 15.88 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.1426, allocations: 75.73 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1426, allocations: 0 / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1426, allocations: 0 / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.056e-06/0.1426, allocations: 0 / 470.9 MB, free: 12.46 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.0005369/0.1432, allocations: 383.4 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.1432, allocations: 12.03 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.1433, allocations: 4.844 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.1435, allocations: 198.8 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1435, allocations: 4.359 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.1435, allocations: 384 / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.1437, allocations: 53.81 kB / 471.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1437, allocations: 3.938 kB / 471.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.1437, allocations: 0 / 471.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1437, allocations: 4 kB / 471.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.1438, allocations: 23.97 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.1442, allocations: 276.8 kB / 471.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.1445, allocations: 46.48 kB / 471.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.1445, allocations: 16.86 kB / 471.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1446, allocations: 0 / 471.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.1446, allocations: 34.56 kB / 471.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.1446, allocations: 0 / 471.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006193/0.1452, allocations: 137.4 kB / 472.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1453, allocations: 51.41 kB / 472.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.1454, allocations: 157.7 kB / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1455, allocations: 25.7 kB / 472.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.1455, allocations: 96.12 kB / 472.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.1456, allocations: 15.81 kB / 472.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.1456, allocations: 17.72 kB / 472.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1457, allocations: 322.8 kB / 472.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.1458, allocations: 27.86 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.079e-05/0.1459, allocations: 19.98 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.146, allocations: 40.83 kB / 472.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.146, allocations: 4 kB / 472.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002004/0.1462, allocations: 85.52 kB / 472.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1463, allocations: 4 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1463, allocations: 7.984 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1463, allocations: 0 / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.603e-05/0.1464, allocations: 11.98 kB / 472.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1464, allocations: 0 / 472.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.1464, allocations: 4 kB / 472.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1465, allocations: 7.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.0001107/0.1466, allocations: 126.3 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.1466, allocations: 7.906 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.1469, allocations: 90.22 kB / 473.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1469, allocations: 4 kB / 473.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1469, allocations: 0 / 473.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1469, allocations: 4 kB / 473.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.1474, allocations: 342.5 kB / 473.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1474, allocations: 0 / 473.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.1474, allocations: 15.92 kB / 473.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1474, allocations: 0 / 473.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1475, allocations: 4 kB / 473.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1475, allocations: 3.938 kB / 473.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1475, allocations: 0 / 473.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.1477, allocations: 179.4 kB / 473.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.1478, allocations: 81.02 kB / 473.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.1478, allocations: 4 kB / 473.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.477e-05/0.1479, allocations: 8.219 kB / 473.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.1479, allocations: 7.984 kB / 473.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1479, allocations: 0 / 473.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.148, allocations: 129.1 kB / 473.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.148, allocations: 0 / 473.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.1483, allocations: 12 kB / 473.9 MB, free: 9.082 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.0009524/0.1492, allocations: 411.6 kB / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.1494, allocations: 43.97 kB / 474.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1495, allocations: 0 / 474.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.585e-05/0.1495, allocations: 27.98 kB / 474.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.1499, allocations: 15.98 kB / 474.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.1504, allocations: 203.1 kB / 474.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.1507, allocations: 0.6965 MB / 475.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.59e-05/0.1507, allocations: 7.984 kB / 475.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.1507, allocations: 11.44 kB / 475.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1507, allocations: 0 / 475.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of Templates: time 0.003788/0.1545, allocations: 1.045 MB / 476.4 MB, free: 6.734 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches