Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002139/0.002138, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001133, allocations: 94.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2772/0.2772, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.743e-05/5.754e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1129, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4731/0.5861, allocations: 86.77 MB / 0.5575 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.5864, allocations: 76.33 kB / 0.5576 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01822/0.6046, allocations: 4.428 MB / 0.5619 GB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6047, allocations: 0 / 0.5619 GB, free: 13.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.6047, allocations: 4 kB / 0.5619 GB, free: 13.26 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004965/0.6052, allocations: 377.4 kB / 0.5623 GB, free: 12.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.6053, allocations: 12.03 kB / 0.5623 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.6053, allocations: 7.906 kB / 0.5623 GB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.6056, allocations: 189.9 kB / 0.5625 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.6057, allocations: 11.94 kB / 0.5625 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.6057, allocations: 0 / 0.5625 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.6059, allocations: 79.23 kB / 0.5626 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.6059, allocations: 3.938 kB / 0.5626 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.606, allocations: 0 / 0.5626 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.606, allocations: 7.984 kB / 0.5626 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.531e-05/0.6061, allocations: 25.5 kB / 0.5626 GB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.6067, allocations: 393.6 kB / 0.563 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.6071, allocations: 79.66 kB / 0.5631 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.109e-05/0.6072, allocations: 32.97 kB / 0.5631 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.6072, allocations: 3.938 kB / 0.5631 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.6073, allocations: 30.56 kB / 0.5631 GB, free: 11.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.695e-06/0.6073, allocations: 4 kB / 0.5631 GB, free: 11.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000791/0.6081, allocations: 189.2 kB / 0.5633 GB, free: 11.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.6082, allocations: 110.8 kB / 0.5634 GB, free: 11.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.6084, allocations: 132.2 kB / 0.5635 GB, free: 11.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.6084, allocations: 25.7 kB / 0.5636 GB, free: 11.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.6085, allocations: 158.4 kB / 0.5637 GB, free: 11.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.6086, allocations: 33.67 kB / 0.5638 GB, free: 11.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-06/0.6086, allocations: 0 / 0.5638 GB, free: 11.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6087, allocations: 314.2 kB / 0.5641 GB, free: 10.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.159e-05/0.6088, allocations: 22.31 kB / 0.5641 GB, free: 10.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.6089, allocations: 49.81 kB / 0.5641 GB, free: 10.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.026e-05/0.609, allocations: 29.98 kB / 0.5641 GB, free: 10.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.609, allocations: 0 / 0.5641 GB, free: 10.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002509/0.6093, allocations: 102.3 kB / 0.5642 GB, free: 10.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.6093, allocations: 4 kB / 0.5643 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.6093, allocations: 0 / 0.5643 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.6094, allocations: 4 kB / 0.5643 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.6096, allocations: 19.98 kB / 0.5643 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.6096, allocations: 7.984 kB / 0.5643 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.689e-05/0.6097, allocations: 11.98 kB / 0.5643 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.6097, allocations: 4 kB / 0.5643 GB, free: 10.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.658e-05/0.6098, allocations: 108.5 kB / 0.5644 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.6099, allocations: 7.906 kB / 0.5644 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003634/0.6103, allocations: 129.2 kB / 0.5645 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.6103, allocations: 7.922 kB / 0.5645 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6103, allocations: 4 kB / 0.5645 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.6103, allocations: 4.328 kB / 0.5645 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008159/0.6112, allocations: 492.9 kB / 0.565 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6112, allocations: 0 / 0.565 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.6114, allocations: 27.92 kB / 0.565 GB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.6114, allocations: 0 / 0.565 GB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.6114, allocations: 14.61 kB / 0.5651 GB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.6114, allocations: 0 / 0.5651 GB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6115, allocations: 0 / 0.5651 GB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.6118, allocations: 306.4 kB / 0.5653 GB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.817e-05/0.6119, allocations: 92.2 kB / 0.5654 GB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.6119, allocations: 0 / 0.5654 GB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.6121, allocations: 15.3 kB / 0.5655 GB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.6122, allocations: 7.984 kB / 0.5655 GB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.6122, allocations: 4 kB / 0.5655 GB, free: 9.535 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001209/0.6124, allocations: 107 kB / 0.5656 GB, free: 9.441 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6124, allocations: 288 / 0.5656 GB, free: 9.441 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004163/0.6128, allocations: 30.94 kB / 0.5656 GB, free: 9.418 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001211/0.614, allocations: 412.1 kB / 0.566 GB, free: 9.062 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.6143, allocations: 64.73 kB / 0.566 GB, free: 9.016 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6143, allocations: 4 kB / 0.5661 GB, free: 9.012 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.6145, allocations: 35.36 kB / 0.5661 GB, free: 8.984 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.6148, allocations: 22.45 kB / 0.5661 GB, free: 8.969 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.6154, allocations: 189.7 kB / 0.5663 GB, free: 8.773 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.6157, allocations: 0.6965 MB / 0.567 GB, free: 8.051 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.833e-05/0.6158, allocations: 19.44 kB / 0.567 GB, free: 8.031 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6158, allocations: 0 / 0.567 GB, free: 8.031 MB / 378.7 MB Notification: Performance of Templates: time 0.005453/0.6213, allocations: 1.858 MB / 0.5688 GB, free: 6.18 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches