Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,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.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,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.CombiTable1Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009206/0.0009205, allocations: 182.8 kB / 18.09 MB, free: 3.637 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 223.3 MB / 242.1 MB, free: 9.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007324/0.0007325, allocations: 96.06 kB / 293.3 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2686/0.2686, allocations: 44.15 MB / 388.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003351, allocations: 12 kB / 461.1 MB, free: 1.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2647, allocations: 61.88 MB / 0.5107 GB, free: 37.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09639/0.3612, allocations: 88.37 MB / 0.597 GB, free: 6.695 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.3614, allocations: 79.95 kB / 0.5971 GB, free: 6.621 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01044/0.3718, allocations: 4.477 MB / 0.6015 GB, free: 2.145 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3719, allocations: 0 / 0.6015 GB, free: 2.145 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.3719, allocations: 7.938 kB / 0.6015 GB, free: 2.137 MB / 410.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.000334/0.3722, allocations: 383.2 kB / 0.6018 GB, free: 1.711 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.3723, allocations: 8.031 kB / 0.6019 GB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.3723, allocations: 8.844 kB / 0.6019 GB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.3725, allocations: 188.2 kB / 0.602 GB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.3725, allocations: 384 / 0.602 GB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.3725, allocations: 8.375 kB / 0.602 GB, free: 1.465 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.3727, allocations: 67.89 kB / 0.6021 GB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3727, allocations: 192 / 0.6021 GB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3727, allocations: 7.938 kB / 0.6021 GB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3727, allocations: 0 / 0.6021 GB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.508e-05/0.3728, allocations: 27.92 kB / 0.6021 GB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.3732, allocations: 288.9 kB / 0.6024 GB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.3733, allocations: 54.44 kB / 0.6025 GB, free: 0.957 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/0.3734, allocations: 12.95 kB / 0.6025 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.3734, allocations: 7.969 kB / 0.6025 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.3734, allocations: 42.56 kB / 0.6025 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.3735, allocations: 0 / 0.6025 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005137/0.374, allocations: 153.4 kB / 0.6027 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.374, allocations: 89.05 kB / 0.6028 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.3742, allocations: 135.2 kB / 0.6029 GB, free: 492 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.3742, allocations: 25.7 kB / 0.6029 GB, free: 460 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.3742, allocations: 92.12 kB / 0.603 GB, free: 364 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.3743, allocations: 19.66 kB / 0.603 GB, free: 344 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-06/0.3743, allocations: 0 / 0.603 GB, free: 344 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3744, allocations: 326.8 kB / 0.6033 GB, free: 8 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.292e-05/0.3745, allocations: 27.98 kB / 0.6034 GB, free: 15.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-05/0.3746, allocations: 33.7 kB / 0.6034 GB, free: 15.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.3747, allocations: 64.86 kB / 0.6035 GB, free: 15.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3747, allocations: 0 / 0.6035 GB, free: 15.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001817/0.3749, allocations: 93.59 kB / 0.6035 GB, free: 15.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3749, allocations: 4 kB / 0.6036 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3749, allocations: 0 / 0.6036 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.3749, allocations: 4 kB / 0.6036 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.005e-05/0.375, allocations: 15.98 kB / 0.6036 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.375, allocations: 0 / 0.6036 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/0.3751, allocations: 8 kB / 0.6036 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.3751, allocations: 0 / 0.6036 GB, free: 15.75 MB / 426.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 8.084e-05/0.3752, allocations: 122.3 kB / 0.6037 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.3752, allocations: 8.188 kB / 0.6037 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.3754, allocations: 109.5 kB / 0.6038 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3754, allocations: 3.984 kB / 0.6038 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3754, allocations: 0 / 0.6038 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3755, allocations: 0 / 0.6038 GB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.3758, allocations: 366.8 kB / 0.6042 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3759, allocations: 8 kB / 0.6042 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.013e-05/0.3759, allocations: 15.94 kB / 0.6042 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3759, allocations: 0 / 0.6042 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.3759, allocations: 0 / 0.6042 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3759, allocations: 4 kB / 0.6042 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.376, allocations: 0 / 0.6042 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.3762, allocations: 195.4 kB / 0.6044 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.3762, allocations: 89 kB / 0.6045 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.3762, allocations: 0 / 0.6045 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.3763, allocations: 12 kB / 0.6045 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.3764, allocations: 11.92 kB / 0.6045 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.3764, allocations: 0 / 0.6045 GB, free: 14.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.644e-05/0.3764, allocations: 105.8 kB / 0.6046 GB, free: 14.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.563e-06/0.3765, allocations: 0 / 0.6046 GB, free: 14.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.3767, allocations: 35.92 kB / 0.6046 GB, free: 14.58 MB / 426.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.0008325/0.3775, allocations: 452.8 kB / 0.605 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.3777, allocations: 55.97 kB / 0.6051 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3777, allocations: 0 / 0.6051 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.433e-05/0.3778, allocations: 35.92 kB / 0.6051 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.3781, allocations: 15.98 kB / 0.6052 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.3784, allocations: 168.7 kB / 0.6053 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.3786, allocations: 0.6926 MB / 0.606 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.153e-05/0.3787, allocations: 15.97 kB / 0.606 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.3787, allocations: 15.42 kB / 0.606 GB, free: 13.25 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3788, allocations: 0 / 0.606 GB, free: 13.25 MB / 426.7 MB Notification: Performance of Templates: time 0.00319/0.3819, allocations: 1.295 MB / 0.6073 GB, free: 11.97 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches