Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.00112, 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.335/1.335, 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.001188/0.001188, allocations: 109.3 kB / 291.9 MB, free: 10.96 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.3697/0.3697, allocations: 44.13 MB / 386.1 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 51.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3675, allocations: 60.8 MB / 0.5064 GB, free: 38.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003248/0.3708, allocations: 1.695 MB / 0.508 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007282/0.3716, allocations: 424.4 kB / 0.5084 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.3716, allocations: 2.594 kB / 0.5085 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.3719, allocations: 56.56 kB / 0.5085 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.3721, allocations: 51.62 kB / 0.5086 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.3724, allocations: 117.9 kB / 0.5087 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.3726, allocations: 82.02 kB / 0.5087 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3727, allocations: 16.42 kB / 0.5088 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.487e-05/0.3727, allocations: 32.05 kB / 0.5088 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.136e-05/0.3728, allocations: 42.28 kB / 0.5088 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.3728, allocations: 2.781 kB / 0.5088 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.396e-05/0.3729, allocations: 47.62 kB / 0.5089 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.373, allocations: 27.69 kB / 0.5089 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.3731, allocations: 31.25 kB / 0.5089 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.3732, allocations: 98.25 kB / 0.509 GB, free: 36.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3733, allocations: 3.938 kB / 0.509 GB, free: 36.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3733, allocations: 0 / 0.509 GB, free: 36.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.3733, allocations: 0 / 0.509 GB, free: 36.47 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.0004847/0.3738, allocations: 408.6 kB / 0.5094 GB, free: 36.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3738, allocations: 8.906 kB / 0.5094 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.3739, allocations: 9.844 kB / 0.5094 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.374, allocations: 194.9 kB / 0.5096 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.374, allocations: 5.984 kB / 0.5096 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.3741, allocations: 10.28 kB / 0.5096 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3742, allocations: 62.61 kB / 0.5097 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.3743, allocations: 0 / 0.5097 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3743, allocations: 0 / 0.5097 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.3743, allocations: 2.781 kB / 0.5097 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.3744, allocations: 39.19 kB / 0.5097 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.3748, allocations: 311.4 kB / 0.51 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.375, allocations: 54.59 kB / 0.5101 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.545e-05/0.3751, allocations: 22.47 kB / 0.5101 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.3751, allocations: 7.031 kB / 0.5101 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.3752, allocations: 41.83 kB / 0.5102 GB, free: 35.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3752, allocations: 0 / 0.5102 GB, free: 35.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001271/0.3764, allocations: 384.5 kB / 0.5105 GB, free: 35.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.3765, allocations: 51.41 kB / 0.5106 GB, free: 35.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.3766, allocations: 184.5 kB / 0.5108 GB, free: 35.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.3766, allocations: 25.7 kB / 0.5108 GB, free: 35.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.3767, allocations: 105.2 kB / 0.5109 GB, free: 34.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.3767, allocations: 37.66 kB / 0.5109 GB, free: 34.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.3768, allocations: 26.47 kB / 0.5109 GB, free: 34.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.3768, allocations: 321.3 kB / 0.5112 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.377, allocations: 45.27 kB / 0.5113 GB, free: 34.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.3771, allocations: 42 kB / 0.5113 GB, free: 34.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.3773, allocations: 104.7 kB / 0.5114 GB, free: 34.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3773, allocations: 0 / 0.5114 GB, free: 34.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002614/0.3776, allocations: 147.9 kB / 0.5116 GB, free: 34.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3776, allocations: 5.75 kB / 0.5116 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3776, allocations: 0 / 0.5116 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3776, allocations: 0 / 0.5116 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.755e-05/0.3777, allocations: 28.48 kB / 0.5116 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3777, allocations: 0 / 0.5116 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.554e-05/0.3778, allocations: 8.938 kB / 0.5116 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3778, allocations: 2.906 kB / 0.5116 GB, free: 34.45 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 7.003e-05/0.3779, allocations: 134.1 kB / 0.5117 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.3779, allocations: 13.34 kB / 0.5118 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.3783, allocations: 165.5 kB / 0.5119 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3783, allocations: 0 / 0.5119 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3783, allocations: 0 / 0.5119 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3783, allocations: 0 / 0.5119 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.3788, allocations: 476.9 kB / 0.5124 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3788, allocations: 0 / 0.5124 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.881e-05/0.3789, allocations: 26.98 kB / 0.5124 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3789, allocations: 2.875 kB / 0.5124 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3789, allocations: 4.062 kB / 0.5124 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3789, allocations: 2.781 kB / 0.5124 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3789, allocations: 3.188 kB / 0.5124 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.3795, allocations: 0.8552 MB / 0.5132 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/0.3795, allocations: 91.84 kB / 0.5133 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.3795, allocations: 7.266 kB / 0.5133 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.721e-05/0.3796, allocations: 13.19 kB / 0.5133 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.3797, allocations: 9.016 kB / 0.5134 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.3797, allocations: 2.969 kB / 0.5134 GB, free: 32.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.348e-05/0.3798, allocations: 142 kB / 0.5135 GB, free: 32.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3798, allocations: 3.938 kB / 0.5135 GB, free: 32.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003358/0.3801, allocations: 25.19 kB / 0.5135 GB, free: 32.83 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.0008721/0.381, allocations: 462.5 kB / 0.514 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.3813, allocations: 106.9 kB / 0.5141 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3813, allocations: 0 / 0.5141 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3814, allocations: 61.36 kB / 0.5141 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.3818, allocations: 18.27 kB / 0.5141 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.3823, allocations: 433.9 kB / 0.5146 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.3824, allocations: 0.7121 MB / 0.5152 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.42e-05/0.3825, allocations: 20.47 kB / 0.5153 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.3825, allocations: 17.44 kB / 0.5153 GB, free: 31.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3826, allocations: 0 / 0.5153 GB, free: 31.5 MB / 378.7 MB Notification: Performance of Templates: time 0.003591/0.3862, allocations: 1.468 MB / 0.5167 GB, free: 31.32 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches