Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.001174/0.001174, allocations: 185.2 kB / 19.38 MB, free: 3.723 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.26/1.26, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.1886/0.1886, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3009, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002478/0.3035, allocations: 1.593 MB / 0.5211 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006504/0.3041, allocations: 410.1 kB / 0.5215 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.3042, allocations: 1.156 kB / 0.5215 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.3045, allocations: 73.72 kB / 0.5216 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.3047, allocations: 64.53 kB / 0.5217 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.3049, allocations: 116.3 kB / 0.5218 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.3051, allocations: 75.84 kB / 0.5218 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3052, allocations: 15.3 kB / 0.5219 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.562e-05/0.3053, allocations: 31.55 kB / 0.5219 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.852e-05/0.3054, allocations: 48.33 kB / 0.5219 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.3054, allocations: 6.812 kB / 0.5219 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.009e-05/0.3055, allocations: 38.56 kB / 0.522 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.995e-05/0.3055, allocations: 18.83 kB / 0.522 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.3056, allocations: 30.58 kB / 0.522 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.3058, allocations: 102.2 kB / 0.5221 GB, free: 1.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3058, allocations: 0.9375 kB / 0.5221 GB, free: 1.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3058, allocations: 0 / 0.5221 GB, free: 1.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.3058, allocations: 0 / 0.5221 GB, free: 1.984 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.000387/0.3062, allocations: 399.7 kB / 0.5225 GB, free: 1.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.3062, allocations: 9.656 kB / 0.5225 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.3063, allocations: 13.94 kB / 0.5225 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.3064, allocations: 192.6 kB / 0.5227 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3064, allocations: 2.594 kB / 0.5227 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.3065, allocations: 7.234 kB / 0.5227 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.3066, allocations: 61.47 kB / 0.5228 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3066, allocations: 0.75 kB / 0.5228 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.3066, allocations: 0 / 0.5228 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3066, allocations: 1.031 kB / 0.5228 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.494e-05/0.3067, allocations: 26.8 kB / 0.5228 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.3071, allocations: 302.8 kB / 0.5231 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3072, allocations: 44.78 kB / 0.5231 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.836e-05/0.3072, allocations: 20.83 kB / 0.5232 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.3073, allocations: 0 / 0.5232 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.3073, allocations: 36.88 kB / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3073, allocations: 0 / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008348/0.3081, allocations: 230.2 kB / 0.5234 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.3082, allocations: 53.36 kB / 0.5235 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.3083, allocations: 196.5 kB / 0.5237 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.3083, allocations: 26.92 kB / 0.5237 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.3084, allocations: 104 kB / 0.5238 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.3084, allocations: 25.11 kB / 0.5238 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.3085, allocations: 24.77 kB / 0.5238 GB, free: 492 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.3085, allocations: 322.1 kB / 0.5241 GB, free: 168 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.098e-05/0.3086, allocations: 33.86 kB / 0.5242 GB, free: 156 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.037e-05/0.3087, allocations: 39.28 kB / 0.5242 GB, free: 140 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.3088, allocations: 75.66 kB / 0.5243 GB, free: 108 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3088, allocations: 1.5 kB / 0.5243 GB, free: 108 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001957/0.309, allocations: 111 kB / 0.5244 GB, free: 48 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3091, allocations: 6.141 kB / 0.5244 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3091, allocations: 5.234 kB / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3091, allocations: 0 / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.3092, allocations: 24.44 kB / 0.5244 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3092, allocations: 5.594 kB / 0.5244 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.3092, allocations: 4.906 kB / 0.5244 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.3093, allocations: 6.938 kB / 0.5244 GB, free: 28 kB / 382.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 (8): * Single equations (assignments): 8 * 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.0001078/0.3094, allocations: 125.9 kB / 0.5246 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.3094, allocations: 8.938 kB / 0.5246 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.3097, allocations: 126 kB / 0.5247 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3097, allocations: 5.062 kB / 0.5247 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3097, allocations: 5.891 kB / 0.5247 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3097, allocations: 0.5156 kB / 0.5247 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005135/0.3102, allocations: 422.3 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3103, allocations: 2.312 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.3103, allocations: 19.77 kB / 0.5251 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3103, allocations: 1.469 kB / 0.5251 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3104, allocations: 6.438 kB / 0.5251 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3104, allocations: 0 / 0.5251 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3104, allocations: 1.406 kB / 0.5251 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.3106, allocations: 213.6 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.3107, allocations: 88.52 kB / 0.5254 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.3107, allocations: 4.609 kB / 0.5254 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.3108, allocations: 5.578 kB / 0.5254 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/0.3108, allocations: 9.562 kB / 0.5254 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.3108, allocations: 2.938 kB / 0.5254 GB, free: 15.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.3109, allocations: 146.8 kB / 0.5256 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3109, allocations: 1.844 kB / 0.5256 GB, free: 15.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.3112, allocations: 22.12 kB / 0.5256 GB, free: 15.09 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009453/0.3121, allocations: 461.8 kB / 0.526 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.3124, allocations: 79.69 kB / 0.5261 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3124, allocations: 0 / 0.5261 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.114e-05/0.3125, allocations: 43.16 kB / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.3128, allocations: 21.72 kB / 0.5262 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.3132, allocations: 280.2 kB / 0.5264 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.3135, allocations: 0.7068 MB / 0.5271 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.3136, allocations: 15.02 kB / 0.5271 GB, free: 13.91 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3136, allocations: 4.062 kB / 0.5272 GB, free: 13.9 MB / 398.1 MB Notification: Performance of Templates: time 0.00334/0.3169, allocations: 1.735 MB / 0.5288 GB, free: 13.3 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches