Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 118.4 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 183.8 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2344/0.2344, allocations: 44.18 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 59.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4863/0.4876, allocations: 60.83 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.004225/0.4919, allocations: 1.63 MB / 0.5205 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.4943, allocations: 1.056 MB / 0.5215 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.598e-05/0.4944, allocations: 1.062 kB / 0.5215 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.4947, allocations: 24.95 kB / 0.5216 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.4951, allocations: 45.36 kB / 0.5216 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007644/0.4959, allocations: 175.3 kB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.4961, allocations: 73.61 kB / 0.5218 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.4963, allocations: 16.09 kB / 0.5219 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.922e-05/0.4964, allocations: 25.38 kB / 0.5219 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.4966, allocations: 36.44 kB / 0.5219 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.4966, allocations: 3.5 kB / 0.5219 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.4968, allocations: 47.86 kB / 0.522 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.808e-05/0.4969, allocations: 20.84 kB / 0.522 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.347e-05/0.497, allocations: 21.84 kB / 0.522 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.4973, allocations: 104.5 kB / 0.5221 GB, free: 1.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.4973, allocations: 0.75 kB / 0.5221 GB, free: 1.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4973, allocations: 1.406 kB / 0.5221 GB, free: 1.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.4974, allocations: 0 / 0.5221 GB, free: 1.445 MB / 382.1 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.0006258/0.498, allocations: 386.7 kB / 0.5225 GB, free: 1.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.498, allocations: 9.469 kB / 0.5225 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.599e-05/0.4981, allocations: 8.875 kB / 0.5225 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.4984, allocations: 192.3 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.4984, allocations: 1.562 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.4984, allocations: 10.56 kB / 0.5227 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.4987, allocations: 83.86 kB / 0.5228 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.4987, allocations: 1.156 kB / 0.5228 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.4988, allocations: 0 / 0.5228 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.4988, allocations: 5.156 kB / 0.5228 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.499, allocations: 41.16 kB / 0.5228 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.4995, allocations: 298.8 kB / 0.5231 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.4997, allocations: 54.55 kB / 0.5232 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.4998, allocations: 28.34 kB / 0.5232 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.4999, allocations: 2.031 kB / 0.5232 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.4999, allocations: 32.48 kB / 0.5232 GB, free: 388 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.4999, allocations: 0 / 0.5232 GB, free: 388 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001211/0.5011, allocations: 229.1 kB / 0.5234 GB, free: 296 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.5012, allocations: 78.7 kB / 0.5235 GB, free: 200 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.5014, allocations: 136.2 kB / 0.5236 GB, free: 88 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.5015, allocations: 25.7 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.5016, allocations: 93.58 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.518e-05/0.5017, allocations: 25.41 kB / 0.5238 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/0.5017, allocations: 19.95 kB / 0.5238 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.502, allocations: 323.6 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.5022, allocations: 38.66 kB / 0.5241 GB, free: 15.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.5025, allocations: 51.12 kB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004696/0.503, allocations: 96.28 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5031, allocations: 0 / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006191/0.5037, allocations: 121.5 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.5037, allocations: 4.562 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.5037, allocations: 2.344 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/0.5038, allocations: 4.281 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.504, allocations: 18.83 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.504, allocations: 0.9688 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.5042, allocations: 14.45 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.5042, allocations: 1.781 kB / 0.5244 GB, free: 15.48 MB / 398.1 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.0001614/0.5044, allocations: 124.7 kB / 0.5246 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.5045, allocations: 12.05 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006474/0.5051, allocations: 139.5 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.5052, allocations: 2.719 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-06/0.5052, allocations: 0.5625 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5052, allocations: 4.453 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.5063, allocations: 408.2 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5063, allocations: 4 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.5065, allocations: 18.78 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.5065, allocations: 1.125 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.5066, allocations: 9.609 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5066, allocations: 0 / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5066, allocations: 1.031 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006608/0.5073, allocations: 223 kB / 0.5254 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.5073, allocations: 83.17 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.5074, allocations: 5.484 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.5076, allocations: 9.219 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.135e-05/0.5077, allocations: 10.23 kB / 0.5255 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.5077, allocations: 1.844 kB / 0.5255 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.5079, allocations: 104.5 kB / 0.5256 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5079, allocations: 4 kB / 0.5256 GB, free: 14.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005171/0.5085, allocations: 26.86 kB / 0.5256 GB, free: 14.55 MB / 398.1 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.001907/0.5104, allocations: 441.2 kB / 0.526 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006443/0.511, allocations: 94.41 kB / 0.5261 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.5111, allocations: 1.125 kB / 0.5261 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.5113, allocations: 48.38 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.5119, allocations: 23.06 kB / 0.5262 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008245/0.5128, allocations: 202.4 kB / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.5133, allocations: 0.7078 MB / 0.5271 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001827/0.5135, allocations: 31.69 kB / 0.5271 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/0.5136, allocations: 14.48 kB / 0.5271 GB, free: 13.41 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5136, allocations: 0 / 0.5271 GB, free: 13.41 MB / 398.1 MB Notification: Performance of Templates: time 0.009433/0.523, allocations: 1.547 MB / 0.5286 GB, free: 12.83 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches