Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24") translateModel(ModelicaTest.Tables.CombiTable1D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 104.3 kB / 16.27 MB, free: 5.926 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.00195/0.00195, allocations: 188.6 kB / 17.19 MB, free: 5.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.1 MB / 223.1 MB, free: 12.33 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.244/0.244, allocations: 43.53 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 78.66 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1431, allocations: 57.78 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test24): time 0.003285/0.1464, allocations: 1.543 MB / 442.1 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1477, allocations: 0.9417 MB / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.334e-05/0.1478, allocations: 0 / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.1481, allocations: 31.84 kB / 443 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.1484, allocations: 47.77 kB / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.1486, allocations: 79.45 kB / 443.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1488, allocations: 55.84 kB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1489, allocations: 23.91 kB / 443.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.93e-05/0.149, allocations: 23.88 kB / 443.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.1491, allocations: 23.91 kB / 443.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.1491, allocations: 4 kB / 443.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1492, allocations: 51.97 kB / 443.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.592e-05/0.1493, allocations: 11.94 kB / 443.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.1493, allocations: 19.86 kB / 443.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.1495, allocations: 87.77 kB / 443.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1495, allocations: 0 / 443.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1495, allocations: 3.938 kB / 443.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1495, allocations: 4 kB / 443.5 MB, free: 3.945 MB / 318.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.0004493/0.15, allocations: 384.6 kB / 443.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.15, allocations: 11.89 kB / 443.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.1501, allocations: 4.938 kB / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.1502, allocations: 184.2 kB / 444 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.1503, allocations: 4.312 kB / 444 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.1503, allocations: 4.375 kB / 444 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1505, allocations: 71.52 kB / 444.1 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1505, allocations: 3.938 kB / 444.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1505, allocations: 0 / 444.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1505, allocations: 0 / 444.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.503e-05/0.1506, allocations: 19.98 kB / 444.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.1509, allocations: 288.8 kB / 444.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.1512, allocations: 50.5 kB / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.744e-05/0.1512, allocations: 16.94 kB / 444.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1513, allocations: 0 / 444.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.1513, allocations: 38.56 kB / 444.5 MB, free: 2.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.1513, allocations: 0 / 444.5 MB, free: 2.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005466/0.1518, allocations: 145.5 kB / 444.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.1519, allocations: 85.11 kB / 444.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.152, allocations: 125.8 kB / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.152, allocations: 29.7 kB / 444.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.1521, allocations: 92.05 kB / 445 MB, free: 2.207 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.1521, allocations: 15.81 kB / 445 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.1521, allocations: 17.7 kB / 445 MB, free: 2.168 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.1522, allocations: 322.8 kB / 445.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.1522, allocations: 19.98 kB / 445.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.678e-05/0.1523, allocations: 37.88 kB / 445.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.1524, allocations: 52.83 kB / 445.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1524, allocations: 0 / 445.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001603/0.1526, allocations: 93.55 kB / 445.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1526, allocations: 10.48 kB / 445.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1526, allocations: 48 / 445.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1527, allocations: 3.984 kB / 445.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.484e-05/0.1527, allocations: 12 kB / 445.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1527, allocations: 0 / 445.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.839e-05/0.1528, allocations: 7.984 kB / 445.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1528, allocations: 0 / 445.6 MB, free: 1.598 MB / 318.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 6.828e-05/0.1529, allocations: 121.7 kB / 445.7 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.1529, allocations: 12 kB / 445.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.1531, allocations: 101.4 kB / 445.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.1531, allocations: 0 / 445.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1532, allocations: 4 kB / 445.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1532, allocations: 0 / 445.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.1535, allocations: 350.5 kB / 446.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1535, allocations: 8 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.1536, allocations: 16.11 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1536, allocations: 0 / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1536, allocations: 4 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1536, allocations: 3.938 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1536, allocations: 0 / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.1538, allocations: 187.4 kB / 446.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.1538, allocations: 81.11 kB / 446.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.1538, allocations: 0 / 446.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.59e-05/0.1539, allocations: 15.88 kB / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.154, allocations: 3.984 kB / 446.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.154, allocations: 4 kB / 446.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.987e-05/0.1541, allocations: 103.1 kB / 446.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1541, allocations: 0 / 446.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.1543, allocations: 27.98 kB / 446.6 MB, free: 484 kB / 318.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.000922/0.1552, allocations: 449.5 kB / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.1555, allocations: 51.97 kB / 447.1 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1555, allocations: 0 / 447.1 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.908e-05/0.1556, allocations: 31.92 kB / 447.1 MB, free: 24 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.156, allocations: 28.03 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.1564, allocations: 165.5 kB / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.1568, allocations: 0.6904 MB / 448 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.539e-05/0.1569, allocations: 15.98 kB / 448 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.1569, allocations: 11.44 kB / 448 MB, free: 15.06 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1569, allocations: 0 / 448 MB, free: 15.06 MB / 334.1 MB Notification: Performance of Templates: time 0.004205/0.1611, allocations: 1.367 MB / 449.4 MB, free: 13.71 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches