Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.333/1.333, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.001054/0.001054, allocations: 109.8 kB / 291.9 MB, free: 10.95 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.3675/0.3675, allocations: 44.14 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 55.92 kB / 457.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3602, allocations: 60.81 MB / 0.5064 GB, free: 38.42 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002885/0.3631, allocations: 1.697 MB / 0.5081 GB, free: 37.26 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006818/0.3638, allocations: 452.7 kB / 0.5085 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.3639, allocations: 0 / 0.5085 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.3641, allocations: 45.53 kB / 0.5085 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.3643, allocations: 41.02 kB / 0.5086 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.3647, allocations: 163.1 kB / 0.5087 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.3648, allocations: 83.91 kB / 0.5088 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.97e-05/0.3649, allocations: 16.78 kB / 0.5088 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.692e-05/0.365, allocations: 29.14 kB / 0.5088 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.68e-05/0.365, allocations: 36.75 kB / 0.5089 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.3651, allocations: 3.312 kB / 0.5089 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.852e-05/0.3652, allocations: 44.45 kB / 0.5089 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.3652, allocations: 34.69 kB / 0.509 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.3653, allocations: 30.47 kB / 0.509 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.3654, allocations: 95 kB / 0.5091 GB, free: 36.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3654, allocations: 4 kB / 0.5091 GB, free: 36.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3654, allocations: 3.938 kB / 0.5091 GB, free: 36.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.3655, allocations: 0 / 0.5091 GB, free: 36.69 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.0004465/0.3659, allocations: 408.5 kB / 0.5095 GB, free: 36.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.366, allocations: 8.781 kB / 0.5095 GB, free: 36.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.366, allocations: 10.19 kB / 0.5095 GB, free: 36.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.3661, allocations: 188.1 kB / 0.5097 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3662, allocations: 6.438 kB / 0.5097 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.3662, allocations: 11.5 kB / 0.5097 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.3664, allocations: 66.44 kB / 0.5098 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3664, allocations: 2.781 kB / 0.5098 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3664, allocations: 0 / 0.5098 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3664, allocations: 0 / 0.5098 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.3665, allocations: 48.94 kB / 0.5098 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.3669, allocations: 323.9 kB / 0.5101 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.3671, allocations: 54.84 kB / 0.5102 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.977e-05/0.3672, allocations: 33.72 kB / 0.5102 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3672, allocations: 0 / 0.5102 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.3673, allocations: 38.59 kB / 0.5102 GB, free: 35.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3673, allocations: 0 / 0.5102 GB, free: 35.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001286/0.3686, allocations: 417 kB / 0.5106 GB, free: 35.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.107e-05/0.3686, allocations: 58.03 kB / 0.5107 GB, free: 35.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.3687, allocations: 167.6 kB / 0.5108 GB, free: 35.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.3687, allocations: 33.7 kB / 0.5109 GB, free: 35.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.3688, allocations: 93.27 kB / 0.511 GB, free: 35.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.3688, allocations: 36.31 kB / 0.511 GB, free: 35.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.3688, allocations: 29.09 kB / 0.511 GB, free: 35.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.191e-05/0.3689, allocations: 320.6 kB / 0.5113 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.369, allocations: 49.31 kB / 0.5114 GB, free: 34.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.3691, allocations: 59.75 kB / 0.5114 GB, free: 34.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.3694, allocations: 128 kB / 0.5116 GB, free: 34.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3694, allocations: 4 kB / 0.5116 GB, free: 34.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002807/0.3697, allocations: 166.5 kB / 0.5117 GB, free: 34.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3697, allocations: 9.5 kB / 0.5117 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.3697, allocations: 7.938 kB / 0.5117 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3697, allocations: 2.688 kB / 0.5117 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3699, allocations: 28.14 kB / 0.5118 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3699, allocations: 3.188 kB / 0.5118 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/0.3699, allocations: 8.531 kB / 0.5118 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3699, allocations: 2.562 kB / 0.5118 GB, free: 34.64 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 (11): * Single equations (assignments): 11 * 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.562e-05/0.37, allocations: 129.2 kB / 0.5119 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.37, allocations: 14.06 kB / 0.5119 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.3704, allocations: 189 kB / 0.5121 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3704, allocations: 0 / 0.5121 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3704, allocations: 0 / 0.5121 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3704, allocations: 6.094 kB / 0.5121 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005404/0.371, allocations: 0.4896 MB / 0.5126 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.371, allocations: 0 / 0.5126 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.073e-05/0.3711, allocations: 33.5 kB / 0.5126 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3711, allocations: 0 / 0.5126 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3711, allocations: 2.781 kB / 0.5126 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3711, allocations: 0 / 0.5126 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3711, allocations: 6.562 kB / 0.5126 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/0.3717, allocations: 0.8907 MB / 0.5135 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.3717, allocations: 86.83 kB / 0.5136 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3717, allocations: 2.594 kB / 0.5136 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.3718, allocations: 12.62 kB / 0.5136 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.3719, allocations: 12.83 kB / 0.5136 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.3719, allocations: 2.625 kB / 0.5136 GB, free: 33.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.814e-05/0.372, allocations: 131.8 kB / 0.5137 GB, free: 33.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.372, allocations: 4 kB / 0.5137 GB, free: 33.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003451/0.3723, allocations: 21.47 kB / 0.5138 GB, free: 33.02 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0009474/0.3733, allocations: 469.2 kB / 0.5142 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.3736, allocations: 130.7 kB / 0.5143 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3736, allocations: 0 / 0.5143 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.3738, allocations: 71.91 kB / 0.5144 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.3742, allocations: 15.91 kB / 0.5144 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.3747, allocations: 460.5 kB / 0.5149 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.3749, allocations: 0.7259 MB / 0.5156 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.956e-05/0.375, allocations: 26.78 kB / 0.5156 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.3751, allocations: 16.28 kB / 0.5156 GB, free: 31.65 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3751, allocations: 0 / 0.5156 GB, free: 31.65 MB / 378.7 MB Notification: Performance of Templates: time 0.003726/0.3788, allocations: 1.538 MB / 0.5171 GB, free: 31.48 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches