Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,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.Test24") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 177.6 kB / 17.41 MB, free: 4.293 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.319/1.319, allocations: 225.7 MB / 243.9 MB, free: 8.465 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.0008995/0.0008993, allocations: 94.33 kB / 295 MB, free: 9.504 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.2941/0.2941, allocations: 44.31 MB / 390.5 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002824, allocations: 8 kB / 463.1 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3078, allocations: 61.91 MB / 0.5127 GB, free: 37.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.001765/0.3096, allocations: 1.34 MB / 0.514 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007147/0.3104, allocations: 476.4 kB / 0.5145 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.3104, allocations: 0 / 0.5145 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.3107, allocations: 48.33 kB / 0.5145 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.3108, allocations: 44.77 kB / 0.5146 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.3111, allocations: 115.9 kB / 0.5147 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.3112, allocations: 63.19 kB / 0.5148 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3114, allocations: 27.77 kB / 0.5148 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.396e-05/0.3114, allocations: 26.42 kB / 0.5148 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.069e-05/0.3115, allocations: 37.66 kB / 0.5148 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.3115, allocations: 0 / 0.5148 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.3116, allocations: 41.77 kB / 0.5149 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.389e-05/0.3117, allocations: 13 kB / 0.5149 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.3118, allocations: 57.28 kB / 0.515 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.3119, allocations: 89.03 kB / 0.515 GB, free: 36.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.312, allocations: 4 kB / 0.515 GB, free: 36.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.312, allocations: 0 / 0.515 GB, free: 36.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.312, allocations: 4 kB / 0.515 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.0004204/0.3124, allocations: 395.6 kB / 0.5154 GB, free: 35.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3125, allocations: 8.844 kB / 0.5154 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.3125, allocations: 14.11 kB / 0.5154 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.3126, allocations: 193.9 kB / 0.5156 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3127, allocations: 7.25 kB / 0.5156 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.3127, allocations: 3.25 kB / 0.5156 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.3129, allocations: 76.2 kB / 0.5157 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3129, allocations: 0 / 0.5157 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3129, allocations: 1.125 kB / 0.5157 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.3129, allocations: 1.5 kB / 0.5157 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.3131, allocations: 51.05 kB / 0.5158 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.3135, allocations: 303 kB / 0.5161 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.3138, allocations: 57.95 kB / 0.5161 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.98e-05/0.3139, allocations: 34.11 kB / 0.5161 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.3139, allocations: 2.75 kB / 0.5161 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.3139, allocations: 30.56 kB / 0.5162 GB, free: 35.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.314, allocations: 3.938 kB / 0.5162 GB, free: 35.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001394/0.3154, allocations: 467.6 kB / 0.5166 GB, free: 35.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.3154, allocations: 58 kB / 0.5167 GB, free: 35.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.3156, allocations: 169.4 kB / 0.5168 GB, free: 34.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3156, allocations: 25.7 kB / 0.5169 GB, free: 34.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.3156, allocations: 102.1 kB / 0.517 GB, free: 34.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.3157, allocations: 36.52 kB / 0.517 GB, free: 34.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.3157, allocations: 0 / 0.517 GB, free: 34.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.412e-05/0.3158, allocations: 325 kB / 0.5173 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.3159, allocations: 52.73 kB / 0.5174 GB, free: 34.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.316, allocations: 49.84 kB / 0.5174 GB, free: 34.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.3163, allocations: 113.9 kB / 0.5175 GB, free: 34.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3163, allocations: 1 kB / 0.5175 GB, free: 34.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003241/0.3166, allocations: 159.2 kB / 0.5177 GB, free: 34.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.3166, allocations: 8.953 kB / 0.5177 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3166, allocations: 0 / 0.5177 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.3167, allocations: 5.109 kB / 0.5177 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.3168, allocations: 35.98 kB / 0.5177 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3168, allocations: 1.469 kB / 0.5177 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/0.3169, allocations: 16 kB / 0.5177 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3169, allocations: 2.375 kB / 0.5177 GB, free: 34.31 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.383e-05/0.317, allocations: 126.2 kB / 0.5179 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.317, allocations: 12.78 kB / 0.5179 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.3174, allocations: 173.1 kB / 0.518 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3174, allocations: 5 kB / 0.518 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3174, allocations: 1.031 kB / 0.518 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3174, allocations: 0 / 0.518 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/0.3179, allocations: 489.6 kB / 0.5185 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3179, allocations: 1 kB / 0.5185 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.318, allocations: 34.81 kB / 0.5185 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.3181, allocations: 1.031 kB / 0.5185 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3181, allocations: 2.906 kB / 0.5185 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3181, allocations: 0 / 0.5185 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3181, allocations: 2.969 kB / 0.5185 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.3184, allocations: 277.9 kB / 0.5188 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.3184, allocations: 89.45 kB / 0.5189 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.3185, allocations: 3.359 kB / 0.5189 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-05/0.3186, allocations: 15.84 kB / 0.5189 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.3186, allocations: 9.781 kB / 0.5189 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.3186, allocations: 2.938 kB / 0.5189 GB, free: 33.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.371e-05/0.3187, allocations: 129.9 kB / 0.519 GB, free: 33.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3187, allocations: 4 kB / 0.5191 GB, free: 33.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.319, allocations: 27.08 kB / 0.5191 GB, free: 33.31 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.001045/0.3201, allocations: 0.534 MB / 0.5196 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003067/0.3204, allocations: 118.3 kB / 0.5197 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3204, allocations: 4 kB / 0.5197 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.3205, allocations: 67.41 kB / 0.5198 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.3209, allocations: 19.98 kB / 0.5198 GB, free: 32.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.3214, allocations: 292.8 kB / 0.5201 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.3215, allocations: 0.7096 MB / 0.5208 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.488e-05/0.3216, allocations: 12.34 kB / 0.5208 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.3216, allocations: 14.06 kB / 0.5208 GB, free: 32 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3216, allocations: 3.094 kB / 0.5208 GB, free: 32 MB / 378.7 MB Notification: Performance of Templates: time 0.003411/0.3251, allocations: 1.411 MB / 0.5222 GB, free: 31.83 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches