Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001361/0.001361, allocations: 192.3 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007358/0.0007358, allocations: 99.75 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2804/0.2804, allocations: 44.99 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004205, allocations: 11.98 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.299, allocations: 63.09 MB / 0.5214 GB, free: 38.46 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.001682/0.3007, allocations: 1.375 MB / 0.5227 GB, free: 37.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008123/0.3016, allocations: 0.7476 MB / 0.5234 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.3016, allocations: 0 / 0.5234 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000219/0.3019, allocations: 43.67 kB / 0.5235 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.3021, allocations: 79.27 kB / 0.5236 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.3024, allocations: 117.7 kB / 0.5237 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.3026, allocations: 75.22 kB / 0.5237 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.3027, allocations: 19.11 kB / 0.5238 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.292e-05/0.3027, allocations: 36.5 kB / 0.5238 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.762e-05/0.3028, allocations: 31.73 kB / 0.5238 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.3028, allocations: 3.312 kB / 0.5238 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.303, allocations: 48.33 kB / 0.5239 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.26e-05/0.303, allocations: 19 kB / 0.5239 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.3031, allocations: 46.8 kB / 0.5239 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.3033, allocations: 99.27 kB / 0.524 GB, free: 36.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3033, allocations: 2.406 kB / 0.524 GB, free: 36.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3033, allocations: 0 / 0.524 GB, free: 36.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3033, allocations: 0 / 0.524 GB, free: 36.55 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.0004381/0.3038, allocations: 405 kB / 0.5244 GB, free: 36.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3038, allocations: 14.55 kB / 0.5244 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.3039, allocations: 7.75 kB / 0.5244 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.3041, allocations: 202.6 kB / 0.5246 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3041, allocations: 384 / 0.5246 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.3041, allocations: 10.84 kB / 0.5246 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.3043, allocations: 66.08 kB / 0.5247 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3043, allocations: 0 / 0.5247 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3043, allocations: 5.828 kB / 0.5247 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3043, allocations: 0 / 0.5247 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.3045, allocations: 45.3 kB / 0.5248 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.3048, allocations: 307.7 kB / 0.5251 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.305, allocations: 57.66 kB / 0.5251 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.003e-05/0.3051, allocations: 36.22 kB / 0.5251 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3051, allocations: 0 / 0.5251 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.3051, allocations: 30.56 kB / 0.5252 GB, free: 35.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3051, allocations: 0 / 0.5252 GB, free: 35.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001265/0.3064, allocations: 465 kB / 0.5256 GB, free: 35.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.717e-05/0.3064, allocations: 54.41 kB / 0.5257 GB, free: 35.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.3066, allocations: 172.5 kB / 0.5258 GB, free: 35.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.3066, allocations: 28.8 kB / 0.5259 GB, free: 35.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.3066, allocations: 102.5 kB / 0.526 GB, free: 35.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.3067, allocations: 45.12 kB / 0.526 GB, free: 35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/0.3067, allocations: 4 kB / 0.526 GB, free: 35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.393e-05/0.3067, allocations: 325.1 kB / 0.5263 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.3068, allocations: 46.48 kB / 0.5264 GB, free: 34.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.3069, allocations: 58.62 kB / 0.5264 GB, free: 34.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.3072, allocations: 114.8 kB / 0.5265 GB, free: 34.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3072, allocations: 0 / 0.5265 GB, free: 34.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002584/0.3074, allocations: 166.8 kB / 0.5267 GB, free: 34.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3075, allocations: 5.719 kB / 0.5267 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3075, allocations: 3.938 kB / 0.5267 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3075, allocations: 0 / 0.5267 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3076, allocations: 30.09 kB / 0.5267 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3076, allocations: 7.922 kB / 0.5267 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.661e-05/0.3077, allocations: 14.08 kB / 0.5267 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.3077, allocations: 6.875 kB / 0.5267 GB, free: 34.52 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.54e-05/0.3078, allocations: 125.9 kB / 0.5269 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.3078, allocations: 6.781 kB / 0.5269 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/0.3082, allocations: 178 kB / 0.527 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3082, allocations: 0 / 0.527 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3082, allocations: 2.875 kB / 0.527 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3082, allocations: 7.031 kB / 0.5271 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.3087, allocations: 480.5 kB / 0.5275 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3087, allocations: 3.188 kB / 0.5275 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.323e-05/0.3088, allocations: 38.58 kB / 0.5276 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3088, allocations: 0 / 0.5276 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3088, allocations: 3.031 kB / 0.5276 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3088, allocations: 4 kB / 0.5276 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3088, allocations: 0 / 0.5276 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.3091, allocations: 271.8 kB / 0.5278 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.3091, allocations: 91.56 kB / 0.5279 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.3092, allocations: 10.62 kB / 0.5279 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.503e-05/0.3093, allocations: 11.84 kB / 0.5279 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.3093, allocations: 9.125 kB / 0.5279 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.3093, allocations: 10.14 kB / 0.5279 GB, free: 33.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.941e-05/0.3094, allocations: 134.9 kB / 0.5281 GB, free: 33.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3094, allocations: 3.938 kB / 0.5281 GB, free: 33.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002319/0.3096, allocations: 28.89 kB / 0.5281 GB, free: 33.52 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.3105, allocations: 0.5101 MB / 0.5286 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002776/0.3108, allocations: 125.7 kB / 0.5287 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3108, allocations: 0 / 0.5287 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.3109, allocations: 70.73 kB / 0.5288 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.3113, allocations: 20.23 kB / 0.5288 GB, free: 33.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.3117, allocations: 304 kB / 0.5291 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.3118, allocations: 0.7072 MB / 0.5298 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.414e-05/0.3119, allocations: 17.58 kB / 0.5298 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.3119, allocations: 16.19 kB / 0.5298 GB, free: 32.21 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3119, allocations: 0 / 0.5298 GB, free: 32.21 MB / 378.7 MB Notification: Performance of Templates: time 0.003387/0.3153, allocations: 1.432 MB / 0.5312 GB, free: 32.05 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches