Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 173.9 kB / 17.41 MB, free: 4.418 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.36/1.36, allocations: 225.7 MB / 243.9 MB, free: 8.438 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.0007368/0.0007368, allocations: 88.67 kB / 295.1 MB, free: 9.473 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.3045/0.3045, allocations: 44.32 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003077, allocations: 15.94 kB / 463.1 MB, free: 456 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2888, allocations: 61.89 MB / 0.5127 GB, free: 37.59 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.0016/0.2905, allocations: 1.321 MB / 0.514 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006112/0.2911, allocations: 0.4998 MB / 0.5145 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.2912, allocations: 0 / 0.5145 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.2916, allocations: 459.4 kB / 0.5149 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.2918, allocations: 237.3 kB / 0.5152 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.2922, allocations: 161.3 kB / 0.5153 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.2923, allocations: 169.2 kB / 0.5155 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.094e-05/0.2924, allocations: 17.77 kB / 0.5155 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.554e-05/0.2925, allocations: 110.8 kB / 0.5156 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.2927, allocations: 196.4 kB / 0.5158 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.2927, allocations: 2.969 kB / 0.5158 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.674e-05/0.2928, allocations: 31.78 kB / 0.5158 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.716e-05/0.2929, allocations: 79.69 kB / 0.5159 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.942e-05/0.2929, allocations: 128 kB / 0.516 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.2931, allocations: 243 kB / 0.5163 GB, free: 35.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2932, allocations: 0 / 0.5163 GB, free: 35.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2932, allocations: 0 / 0.5163 GB, free: 35.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.2932, allocations: 0 / 0.5163 GB, free: 35.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005271/0.2937, allocations: 0.5961 MB / 0.5168 GB, free: 35.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.2937, allocations: 13.84 kB / 0.5169 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.2938, allocations: 46.83 kB / 0.5169 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.294, allocations: 290.8 kB / 0.5172 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.294, allocations: 1.438 kB / 0.5172 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.294, allocations: 7.344 kB / 0.5172 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.2942, allocations: 66.19 kB / 0.5173 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2942, allocations: 5.188 kB / 0.5173 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.2942, allocations: 4.75 kB / 0.5173 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2942, allocations: 5.156 kB / 0.5173 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.2944, allocations: 42.97 kB / 0.5173 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.2948, allocations: 417 kB / 0.5177 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.2949, allocations: 47.81 kB / 0.5177 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.876e-05/0.295, allocations: 28.31 kB / 0.5178 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.295, allocations: 4.906 kB / 0.5178 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.108e-05/0.2951, allocations: 38.56 kB / 0.5178 GB, free: 34.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2951, allocations: 0 / 0.5178 GB, free: 34.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007443/0.2958, allocations: 337.4 kB / 0.5181 GB, free: 34.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.67e-05/0.2958, allocations: 51.41 kB / 0.5182 GB, free: 34.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005935/0.2964, allocations: 0.8529 MB / 0.519 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.2965, allocations: 29.7 kB / 0.519 GB, free: 33.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.2966, allocations: 219.5 kB / 0.5193 GB, free: 33.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.2966, allocations: 18.81 kB / 0.5193 GB, free: 33.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.2966, allocations: 0 / 0.5193 GB, free: 33.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.2967, allocations: 372.5 kB / 0.5196 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.2968, allocations: 43.19 kB / 0.5197 GB, free: 33.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.978e-05/0.2969, allocations: 46.5 kB / 0.5197 GB, free: 33.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.2971, allocations: 104.9 kB / 0.5198 GB, free: 33.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.2971, allocations: 0 / 0.5198 GB, free: 33.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00026/0.2974, allocations: 176.5 kB / 0.52 GB, free: 33.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.2974, allocations: 2.906 kB / 0.52 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.2974, allocations: 0 / 0.52 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2974, allocations: 5.938 kB / 0.52 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.2975, allocations: 30.38 kB / 0.52 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2976, allocations: 0 / 0.52 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.993e-05/0.2976, allocations: 16.91 kB / 0.52 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.2976, allocations: 4 kB / 0.52 GB, free: 33.27 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 (7): * Single equations (assignments): 7 * 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.0001234/0.2978, allocations: 214.9 kB / 0.5202 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.2978, allocations: 50.5 kB / 0.5203 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.2981, allocations: 186 kB / 0.5205 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.2982, allocations: 7 kB / 0.5205 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2982, allocations: 3.328 kB / 0.5205 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2982, allocations: 3.938 kB / 0.5205 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.2987, allocations: 0.5165 MB / 0.521 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2987, allocations: 3.062 kB / 0.521 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.796e-05/0.2988, allocations: 24.73 kB / 0.521 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2988, allocations: 0 / 0.521 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.2988, allocations: 3.938 kB / 0.521 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2988, allocations: 6.812 kB / 0.521 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2988, allocations: 3.234 kB / 0.521 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.2991, allocations: 267 kB / 0.5213 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.2991, allocations: 115 kB / 0.5214 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.2991, allocations: 3.938 kB / 0.5214 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.543e-05/0.2992, allocations: 15.8 kB / 0.5214 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.2993, allocations: 10.31 kB / 0.5214 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.2993, allocations: 2.875 kB / 0.5214 GB, free: 32.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004057/0.2997, allocations: 0.6419 MB / 0.5221 GB, free: 32.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2997, allocations: 0 / 0.5221 GB, free: 32.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002185/0.2999, allocations: 24.41 kB / 0.5221 GB, free: 32.09 MB / 378.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 (7): * Single equations (assignments): 7 * 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.0007484/0.3007, allocations: 474.1 kB / 0.5225 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002571/0.301, allocations: 116.7 kB / 0.5226 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.301, allocations: 0 / 0.5226 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.3011, allocations: 52.64 kB / 0.5227 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.3014, allocations: 25.11 kB / 0.5227 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009421/0.3024, allocations: 0.905 MB / 0.5236 GB, free: 31.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.3027, allocations: 0.8282 MB / 0.5244 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.013e-05/0.3027, allocations: 29.58 kB / 0.5244 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.3028, allocations: 13.25 kB / 0.5244 GB, free: 30.58 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3028, allocations: 0 / 0.5244 GB, free: 30.58 MB / 378.7 MB Notification: Performance of Templates: time 0.003866/0.3066, allocations: 1.441 MB / 0.5259 GB, free: 30.41 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches