Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009739/0.000974, allocations: 110.4 kB / 17.78 MB, free: 5.273 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.000937/0.000937, allocations: 183.1 kB / 18.71 MB, free: 4.348 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.236/1.236, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2006/0.2006, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001268, allocations: 63.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2975, allocations: 60.83 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002903/0.3004, allocations: 1.626 MB / 0.5205 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.302, allocations: 1.065 MB / 0.5215 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.096e-05/0.3021, allocations: 0.8438 kB / 0.5215 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.3023, allocations: 23.25 kB / 0.5216 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.3026, allocations: 42.52 kB / 0.5216 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.3031, allocations: 171 kB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.3033, allocations: 70.19 kB / 0.5218 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3034, allocations: 22.69 kB / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.956e-05/0.3035, allocations: 21.58 kB / 0.5219 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.3036, allocations: 36.23 kB / 0.5219 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.3037, allocations: 4.125 kB / 0.5219 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.3038, allocations: 54.42 kB / 0.522 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.3039, allocations: 17.69 kB / 0.522 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.3039, allocations: 27.31 kB / 0.522 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.3041, allocations: 100.8 kB / 0.5221 GB, free: 1.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3041, allocations: 0 / 0.5221 GB, free: 1.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3041, allocations: 0 / 0.5221 GB, free: 1.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.3041, allocations: 0 / 0.5221 GB, free: 1.457 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.0003889/0.3045, allocations: 386.2 kB / 0.5225 GB, free: 1.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.3046, allocations: 9.25 kB / 0.5225 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.3046, allocations: 8.5 kB / 0.5225 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.3048, allocations: 200 kB / 0.5227 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3048, allocations: 5.359 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.3048, allocations: 7.75 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.305, allocations: 80.02 kB / 0.5228 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.305, allocations: 0 / 0.5228 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.305, allocations: 4.844 kB / 0.5228 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.305, allocations: 5.031 kB / 0.5228 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.3052, allocations: 40.31 kB / 0.5228 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.3056, allocations: 302.9 kB / 0.5231 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.3057, allocations: 50.27 kB / 0.5232 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.647e-05/0.3058, allocations: 25.75 kB / 0.5232 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.3058, allocations: 4.969 kB / 0.5232 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.3058, allocations: 32.34 kB / 0.5232 GB, free: 396 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.3058, allocations: 1.094 kB / 0.5232 GB, free: 396 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007396/0.3066, allocations: 229.1 kB / 0.5234 GB, free: 304 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.3066, allocations: 78.95 kB / 0.5235 GB, free: 208 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.3068, allocations: 132.9 kB / 0.5236 GB, free: 96 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.3068, allocations: 25.7 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.3068, allocations: 93.61 kB / 0.5238 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.3069, allocations: 24.92 kB / 0.5238 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.3069, allocations: 20.53 kB / 0.5238 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.881e-05/0.307, allocations: 323.2 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.3071, allocations: 38.55 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.3073, allocations: 51.83 kB / 0.5242 GB, free: 15.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.3075, allocations: 91.05 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3075, allocations: 4.031 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002557/0.3078, allocations: 126.1 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3078, allocations: 5.469 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3078, allocations: 0.6094 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3078, allocations: 0 / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3079, allocations: 23.5 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3079, allocations: 1.672 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.939e-05/0.308, allocations: 16.36 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.308, allocations: 3 kB / 0.5245 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 8.153e-05/0.3081, allocations: 120.2 kB / 0.5246 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.3081, allocations: 9.375 kB / 0.5246 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.3085, allocations: 131.1 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3085, allocations: 2.141 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3085, allocations: 4 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3085, allocations: 5.031 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.309, allocations: 408.8 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.309, allocations: 0 / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.723e-05/0.3091, allocations: 19.06 kB / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3091, allocations: 0 / 0.5251 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.3091, allocations: 13.84 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3091, allocations: 1.062 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3091, allocations: 0 / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.3094, allocations: 219 kB / 0.5253 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.3095, allocations: 82.88 kB / 0.5254 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.3095, allocations: 9.766 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.343e-05/0.3096, allocations: 13.64 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.3097, allocations: 5.391 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.3097, allocations: 6.156 kB / 0.5255 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.182e-05/0.3098, allocations: 107.7 kB / 0.5256 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3098, allocations: 0 / 0.5256 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.31, allocations: 27.59 kB / 0.5256 GB, free: 14.57 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.0009201/0.3109, allocations: 449 kB / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.3112, allocations: 90.41 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3113, allocations: 0 / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.3114, allocations: 49.78 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.0003171/0.3117, allocations: 18.72 kB / 0.5262 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.3121, allocations: 203.1 kB / 0.5264 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.3123, allocations: 0.7005 MB / 0.527 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.58e-05/0.3124, allocations: 29.12 kB / 0.5271 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.3125, allocations: 20.58 kB / 0.5271 GB, free: 13.43 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3125, allocations: 0 / 0.5271 GB, free: 13.43 MB / 398.1 MB Notification: Performance of Templates: time 0.004045/0.3165, allocations: 1.562 MB / 0.5286 GB, free: 12.85 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches