Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.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.CombiTable1Ds.Test27,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.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 183.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009924/0.0009922, allocations: 90.86 kB / 270.2 MB, free: 13.37 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.2404/0.2404, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.000398, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1504, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4707/0.6212, allocations: 86.39 MB / 0.5631 GB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.6216, allocations: 75.42 kB / 0.5632 GB, free: 13.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01092/0.6325, allocations: 4.158 MB / 0.5672 GB, free: 9.836 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.6326, allocations: 0 / 0.5672 GB, free: 9.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.6326, allocations: 4 kB / 0.5673 GB, free: 9.832 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006099/0.6332, allocations: 426 kB / 0.5677 GB, free: 9.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.6333, allocations: 12.02 kB / 0.5677 GB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.6334, allocations: 15.81 kB / 0.5677 GB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.6337, allocations: 214 kB / 0.5679 GB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.6337, allocations: 0 / 0.5679 GB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.6338, allocations: 4 kB / 0.5679 GB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.6339, allocations: 53 kB / 0.5679 GB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.6339, allocations: 3.906 kB / 0.5679 GB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.634, allocations: 3.984 kB / 0.568 GB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.634, allocations: 0 / 0.568 GB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.6341, allocations: 27.67 kB / 0.568 GB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.6346, allocations: 302.2 kB / 0.5683 GB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.6348, allocations: 42.19 kB / 0.5683 GB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.6348, allocations: 0 / 0.5683 GB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.6348, allocations: 34.19 kB / 0.5683 GB, free: 8.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.6349, allocations: 0 / 0.5683 GB, free: 8.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005955/0.6355, allocations: 171.2 kB / 0.5685 GB, free: 8.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.6355, allocations: 51.41 kB / 0.5685 GB, free: 8.387 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.6358, allocations: 235.6 kB / 0.5688 GB, free: 8.184 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.6358, allocations: 36.83 kB / 0.5688 GB, free: 8.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.6359, allocations: 109.9 kB / 0.5689 GB, free: 8.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.6359, allocations: 19 kB / 0.5689 GB, free: 8.035 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.6359, allocations: 0 / 0.5689 GB, free: 8.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.6361, allocations: 325.4 kB / 0.5692 GB, free: 7.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/0.6361, allocations: 19.8 kB / 0.5693 GB, free: 7.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.838e-05/0.6362, allocations: 31.42 kB / 0.5693 GB, free: 7.672 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.302e-05/0.6363, allocations: 23.36 kB / 0.5693 GB, free: 7.652 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.6363, allocations: 0 / 0.5693 GB, free: 7.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001924/0.6365, allocations: 99.66 kB / 0.5694 GB, free: 7.559 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.6365, allocations: 6.656 kB / 0.5694 GB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6365, allocations: 0 / 0.5694 GB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.6365, allocations: 0 / 0.5694 GB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.6366, allocations: 15.98 kB / 0.5694 GB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.6366, allocations: 7.891 kB / 0.5694 GB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.936e-05/0.6367, allocations: 11.98 kB / 0.5694 GB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.6367, allocations: 3.938 kB / 0.5695 GB, free: 7.516 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.6368, allocations: 136.7 kB / 0.5696 GB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.6369, allocations: 12.06 kB / 0.5696 GB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.6372, allocations: 105.2 kB / 0.5697 GB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.6372, allocations: 0 / 0.5697 GB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6372, allocations: 0 / 0.5697 GB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.6372, allocations: 11.94 kB / 0.5697 GB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/0.6377, allocations: 393.1 kB / 0.5701 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.6377, allocations: 0 / 0.5701 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/0.6378, allocations: 15.98 kB / 0.5701 GB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.6378, allocations: 0 / 0.5701 GB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.6378, allocations: 4 kB / 0.5701 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6378, allocations: 3.953 kB / 0.5701 GB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.6378, allocations: 4 kB / 0.5701 GB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.6381, allocations: 197.6 kB / 0.5703 GB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.5e-05/0.6382, allocations: 97.02 kB / 0.5704 GB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.6382, allocations: 7.484 kB / 0.5704 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.6383, allocations: 4 kB / 0.5704 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.6383, allocations: 7.953 kB / 0.5704 GB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.6383, allocations: 0 / 0.5704 GB, free: 6.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000181/0.6385, allocations: 203.4 kB / 0.5706 GB, free: 6.336 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6385, allocations: 0 / 0.5706 GB, free: 6.336 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002417/0.6388, allocations: 23.98 kB / 0.5706 GB, free: 6.312 MB / 378.7 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 (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.0009181/0.6397, allocations: 404.7 kB / 0.571 GB, free: 5.969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.6399, allocations: 50.22 kB / 0.5711 GB, free: 5.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6399, allocations: 3.938 kB / 0.5711 GB, free: 5.922 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/0.64, allocations: 35.03 kB / 0.5711 GB, free: 5.891 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.6402, allocations: 10.06 kB / 0.5711 GB, free: 5.883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005559/0.6408, allocations: 299.3 kB / 0.5714 GB, free: 5.586 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.6412, allocations: 0.7154 MB / 0.5721 GB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.254e-05/0.6412, allocations: 20.16 kB / 0.5721 GB, free: 4.828 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.6413, allocations: 15.19 kB / 0.5721 GB, free: 4.816 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.6413, allocations: 4 kB / 0.5721 GB, free: 4.812 MB / 378.7 MB Notification: Performance of Templates: time 0.003814/0.6451, allocations: 1.265 MB / 0.5734 GB, free: 3.559 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches