Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 174.1 kB / 17.4 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.7 MB / 243.9 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008213/0.0008214, allocations: 93.61 kB / 295.1 MB, free: 9.496 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.352/0.352, allocations: 44.32 MB / 390.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 8 kB / 463.1 MB, free: 492 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3872, allocations: 61.9 MB / 0.5127 GB, free: 37.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.001771/0.389, allocations: 1.336 MB / 0.514 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007079/0.3897, allocations: 478.9 kB / 0.5145 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.3898, allocations: 2.562 kB / 0.5145 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.39, allocations: 69.2 kB / 0.5146 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.3902, allocations: 54.39 kB / 0.5146 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.3905, allocations: 127.5 kB / 0.5147 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.3906, allocations: 66.12 kB / 0.5148 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.3907, allocations: 14.83 kB / 0.5148 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.179e-05/0.3908, allocations: 36.64 kB / 0.5149 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.252e-05/0.3909, allocations: 49.45 kB / 0.5149 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.3909, allocations: 2.781 kB / 0.5149 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.544e-05/0.391, allocations: 41.72 kB / 0.5149 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.435e-05/0.3911, allocations: 23.25 kB / 0.515 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.3911, allocations: 51.48 kB / 0.515 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.3913, allocations: 106.7 kB / 0.5151 GB, free: 36.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3913, allocations: 0 / 0.5151 GB, free: 36.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3913, allocations: 3.938 kB / 0.5151 GB, free: 36.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3913, allocations: 0 / 0.5151 GB, free: 36.32 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.0004257/0.3918, allocations: 417.3 kB / 0.5155 GB, free: 35.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3918, allocations: 8.719 kB / 0.5155 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.3919, allocations: 7.875 kB / 0.5155 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.392, allocations: 198 kB / 0.5157 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.392, allocations: 3.281 kB / 0.5157 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.3921, allocations: 7.219 kB / 0.5157 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.3922, allocations: 71.62 kB / 0.5158 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3923, allocations: 4 kB / 0.5158 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3923, allocations: 0 / 0.5158 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3923, allocations: 2.688 kB / 0.5158 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.3924, allocations: 46.61 kB / 0.5159 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.3927, allocations: 307.1 kB / 0.5161 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.393, allocations: 57.52 kB / 0.5162 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.287e-05/0.3931, allocations: 29.39 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.3931, allocations: 6.562 kB / 0.5162 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.3931, allocations: 30.56 kB / 0.5163 GB, free: 35.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.123e-06/0.3931, allocations: 0 / 0.5163 GB, free: 35.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001451/0.3946, allocations: 476.7 kB / 0.5167 GB, free: 35.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.3946, allocations: 57.81 kB / 0.5168 GB, free: 35.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.3948, allocations: 206.8 kB / 0.517 GB, free: 34.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.3949, allocations: 25.7 kB / 0.517 GB, free: 34.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.3949, allocations: 101 kB / 0.5171 GB, free: 34.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.395, allocations: 39.11 kB / 0.5171 GB, free: 34.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/0.395, allocations: 9.094 kB / 0.5171 GB, free: 34.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.395, allocations: 321.4 kB / 0.5174 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.3952, allocations: 51.66 kB / 0.5175 GB, free: 34.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.3953, allocations: 50.39 kB / 0.5175 GB, free: 34.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.3956, allocations: 115.9 kB / 0.5177 GB, free: 34.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3956, allocations: 0 / 0.5177 GB, free: 34.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003273/0.3959, allocations: 163.9 kB / 0.5178 GB, free: 34.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3959, allocations: 9.094 kB / 0.5178 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.396, allocations: 1.344 kB / 0.5178 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.396, allocations: 3.281 kB / 0.5178 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3961, allocations: 31.38 kB / 0.5179 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.3961, allocations: 1.188 kB / 0.5179 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.84e-05/0.3962, allocations: 16.03 kB / 0.5179 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.3962, allocations: 7 kB / 0.5179 GB, free: 34.28 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 0.0001068/0.3963, allocations: 132.7 kB / 0.518 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.3964, allocations: 8.938 kB / 0.518 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004373/0.3968, allocations: 176.1 kB / 0.5182 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3968, allocations: 5.344 kB / 0.5182 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3968, allocations: 0 / 0.5182 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.3969, allocations: 3.234 kB / 0.5182 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006992/0.3976, allocations: 492 kB / 0.5187 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3976, allocations: 3.531 kB / 0.5187 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.3977, allocations: 32.41 kB / 0.5187 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3977, allocations: 3.984 kB / 0.5187 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3977, allocations: 3.484 kB / 0.5187 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.3977, allocations: 7.031 kB / 0.5187 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3977, allocations: 3.938 kB / 0.5187 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.3981, allocations: 265.9 kB / 0.519 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.3981, allocations: 91.3 kB / 0.5191 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.3982, allocations: 5.594 kB / 0.5191 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.3983, allocations: 18.3 kB / 0.5191 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.3983, allocations: 11.48 kB / 0.5191 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.3983, allocations: 4.422 kB / 0.5191 GB, free: 33.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.3985, allocations: 159.6 kB / 0.5192 GB, free: 33.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3985, allocations: 0 / 0.5192 GB, free: 33.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.3988, allocations: 28.09 kB / 0.5193 GB, free: 33.26 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.001133/0.3999, allocations: 0.5206 MB / 0.5198 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003513/0.4003, allocations: 127.1 kB / 0.5199 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4003, allocations: 0 / 0.5199 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.4004, allocations: 69.83 kB / 0.52 GB, free: 32.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.4008, allocations: 23.78 kB / 0.52 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.4014, allocations: 328.3 kB / 0.5203 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.4015, allocations: 0.716 MB / 0.521 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.074e-05/0.4016, allocations: 10 kB / 0.521 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.4016, allocations: 19.09 kB / 0.521 GB, free: 31.95 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4016, allocations: 0 / 0.521 GB, free: 31.95 MB / 378.7 MB Notification: Performance of Templates: time 0.003665/0.4053, allocations: 1.43 MB / 0.5224 GB, free: 31.78 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches