Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 175.6 kB / 16.76 MB, free: 4.93 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.561/1.561, allocations: 205.4 MB / 222.9 MB, free: 8.93 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.0008249/0.0008249, allocations: 92.75 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3251/0.3251, allocations: 43.56 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003274, allocations: 16 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1034, allocations: 58.86 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2864/0.3899, allocations: 86.41 MB / 0.5643 GB, free: 15.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.3901, allocations: 75.95 kB / 0.5644 GB, free: 15.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009996/0.4001, allocations: 3.93 MB / 0.5683 GB, free: 11.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4002, allocations: 0 / 0.5683 GB, free: 11.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.4002, allocations: 0 / 0.5683 GB, free: 11.6 MB / 394.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.0004806/0.4007, allocations: 416.2 kB / 0.5687 GB, free: 11.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4007, allocations: 8.031 kB / 0.5687 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.4008, allocations: 12.78 kB / 0.5687 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.401, allocations: 200.1 kB / 0.5689 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.401, allocations: 4.375 kB / 0.5689 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.4011, allocations: 384 / 0.5689 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.4012, allocations: 54.23 kB / 0.5689 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.4012, allocations: 192 / 0.5689 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.4013, allocations: 7.938 kB / 0.5689 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.4013, allocations: 3.984 kB / 0.5689 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.554e-05/0.4014, allocations: 27.98 kB / 0.569 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.4018, allocations: 280.8 kB / 0.5692 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.402, allocations: 54.5 kB / 0.5693 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.4021, allocations: 16.94 kB / 0.5693 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.4021, allocations: 0 / 0.5693 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.4022, allocations: 30.56 kB / 0.5693 GB, free: 10.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4022, allocations: 0 / 0.5693 GB, free: 10.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005576/0.4027, allocations: 165.4 kB / 0.5695 GB, free: 10.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.4028, allocations: 51.41 kB / 0.5695 GB, free: 10.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.403, allocations: 194.2 kB / 0.5697 GB, free: 9.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.403, allocations: 37.7 kB / 0.5698 GB, free: 9.879 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.4031, allocations: 104 kB / 0.5699 GB, free: 9.773 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.4031, allocations: 15.73 kB / 0.5699 GB, free: 9.758 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/0.4031, allocations: 8 kB / 0.5699 GB, free: 9.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.4032, allocations: 326.7 kB / 0.5702 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.578e-05/0.4033, allocations: 19.98 kB / 0.5702 GB, free: 9.402 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-05/0.4033, allocations: 23.98 kB / 0.5702 GB, free: 9.379 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.4035, allocations: 57.39 kB / 0.5703 GB, free: 9.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.4035, allocations: 0 / 0.5703 GB, free: 9.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001774/0.4037, allocations: 91.02 kB / 0.5704 GB, free: 9.227 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4037, allocations: 4 kB / 0.5704 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4037, allocations: 0 / 0.5704 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.4037, allocations: 0 / 0.5704 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.592e-05/0.4038, allocations: 19.92 kB / 0.5704 GB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4038, allocations: 0 / 0.5704 GB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.4039, allocations: 8 kB / 0.5704 GB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.4039, allocations: 4 kB / 0.5704 GB, free: 9.191 MB / 394.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.0001101/0.404, allocations: 141.7 kB / 0.5705 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.404, allocations: 11.91 kB / 0.5705 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.4043, allocations: 98.75 kB / 0.5706 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4043, allocations: 4 kB / 0.5706 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4043, allocations: 0.75 kB / 0.5706 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4043, allocations: 0 / 0.5706 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.4048, allocations: 378.7 kB / 0.571 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4048, allocations: 4.062 kB / 0.571 GB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.4048, allocations: 16 kB / 0.571 GB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.4049, allocations: 3.984 kB / 0.571 GB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.4049, allocations: 0 / 0.571 GB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4049, allocations: 0 / 0.571 GB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.4049, allocations: 3.938 kB / 0.571 GB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.4051, allocations: 191.3 kB / 0.5712 GB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.4052, allocations: 97 kB / 0.5713 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.4052, allocations: 0 / 0.5713 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.4053, allocations: 8 kB / 0.5713 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.4053, allocations: 7.922 kB / 0.5713 GB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.4053, allocations: 4 kB / 0.5713 GB, free: 8.141 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.4055, allocations: 151.8 kB / 0.5715 GB, free: 7.996 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4055, allocations: 0 / 0.5715 GB, free: 7.996 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002415/0.4057, allocations: 27.94 kB / 0.5715 GB, free: 7.969 MB / 394.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.0008422/0.4066, allocations: 403 kB / 0.5719 GB, free: 7.664 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.4067, allocations: 51.91 kB / 0.5719 GB, free: 7.613 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4068, allocations: 7.938 kB / 0.5719 GB, free: 7.605 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.926e-05/0.4068, allocations: 27.98 kB / 0.572 GB, free: 7.578 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.4071, allocations: 19.97 kB / 0.572 GB, free: 7.559 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.4076, allocations: 247.3 kB / 0.5722 GB, free: 7.297 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.4078, allocations: 0.7004 MB / 0.5729 GB, free: 6.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.763e-05/0.4079, allocations: 11.98 kB / 0.5729 GB, free: 6.559 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.4079, allocations: 11.44 kB / 0.5729 GB, free: 6.547 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4079, allocations: 0 / 0.5729 GB, free: 6.547 MB / 394.7 MB Notification: Performance of Templates: time 0.003264/0.4112, allocations: 1.138 MB / 0.574 GB, free: 5.414 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches