Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.CombiTable1Ds.Test15,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.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 108.1 kB / 18.45 MB, free: 4.602 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.001218/0.001218, allocations: 180.2 kB / 19.38 MB, free: 3.684 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.219/1.219, allocations: 222.9 MB / 243.1 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.1801/0.1801, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 67.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2998, allocations: 60.82 MB / 0.5196 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002557/0.3024, allocations: 1.588 MB / 0.5211 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006444/0.303, allocations: 411.1 kB / 0.5215 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.375e-05/0.3031, allocations: 5.094 kB / 0.5215 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.3034, allocations: 67.23 kB / 0.5216 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.3036, allocations: 67.88 kB / 0.5217 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.3038, allocations: 81.2 kB / 0.5217 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.304, allocations: 74.38 kB / 0.5218 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.913e-05/0.3041, allocations: 21.16 kB / 0.5218 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.556e-05/0.3041, allocations: 38.95 kB / 0.5219 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.3043, allocations: 53.88 kB / 0.5219 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.3043, allocations: 3.062 kB / 0.5219 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-05/0.3044, allocations: 42.95 kB / 0.522 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.3044, allocations: 18.5 kB / 0.522 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.3045, allocations: 26.52 kB / 0.522 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.3046, allocations: 99.66 kB / 0.5221 GB, free: 2.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3046, allocations: 3.938 kB / 0.5221 GB, free: 2.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3047, allocations: 1.125 kB / 0.5221 GB, free: 2.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3047, allocations: 4 kB / 0.5221 GB, free: 2.023 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.0003653/0.305, allocations: 405.3 kB / 0.5225 GB, free: 1.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.3051, allocations: 10 kB / 0.5225 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.3051, allocations: 9.188 kB / 0.5225 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3052, allocations: 198.6 kB / 0.5227 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.3053, allocations: 4.375 kB / 0.5227 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.3053, allocations: 3.953 kB / 0.5227 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.3054, allocations: 52.39 kB / 0.5228 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.3054, allocations: 4.75 kB / 0.5228 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3055, allocations: 7.938 kB / 0.5228 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3055, allocations: 1.688 kB / 0.5228 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.57e-05/0.3056, allocations: 24.64 kB / 0.5228 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.3059, allocations: 289.9 kB / 0.5231 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.235e-05/0.306, allocations: 46.75 kB / 0.5231 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.274e-05/0.306, allocations: 18.62 kB / 0.5231 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.306, allocations: 1.984 kB / 0.5231 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.3061, allocations: 32.33 kB / 0.5232 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3061, allocations: 0 / 0.5232 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008012/0.3069, allocations: 221.9 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.3069, allocations: 57.44 kB / 0.5234 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.3071, allocations: 211.6 kB / 0.5236 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.3071, allocations: 25.7 kB / 0.5237 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.3071, allocations: 108.6 kB / 0.5238 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.3072, allocations: 25.11 kB / 0.5238 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.3072, allocations: 20.5 kB / 0.5238 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.725e-05/0.3073, allocations: 329.8 kB / 0.5241 GB, free: 188 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.3073, allocations: 22.25 kB / 0.5242 GB, free: 184 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.603e-05/0.3074, allocations: 23.03 kB / 0.5242 GB, free: 180 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.3076, allocations: 63.41 kB / 0.5242 GB, free: 152 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3076, allocations: 0 / 0.5242 GB, free: 152 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001899/0.3078, allocations: 113.5 kB / 0.5243 GB, free: 84 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3078, allocations: 5.219 kB / 0.5243 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3078, allocations: 1.844 kB / 0.5243 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3078, allocations: 0 / 0.5243 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.268e-05/0.3079, allocations: 19.12 kB / 0.5244 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.3079, allocations: 3.938 kB / 0.5244 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.969e-05/0.308, allocations: 3.594 kB / 0.5244 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.308, allocations: 10.94 kB / 0.5244 GB, free: 72 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.0001122/0.3081, allocations: 126.1 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.3081, allocations: 13.81 kB / 0.5245 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.3084, allocations: 117.4 kB / 0.5246 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3084, allocations: 1.344 kB / 0.5246 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.3084, allocations: 3.938 kB / 0.5246 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3084, allocations: 1.812 kB / 0.5246 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.3089, allocations: 408.2 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3089, allocations: 1.5 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.76e-05/0.309, allocations: 24.53 kB / 0.5251 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.309, allocations: 0 / 0.5251 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.309, allocations: 1.531 kB / 0.5251 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.309, allocations: 2.109 kB / 0.5251 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.309, allocations: 1.469 kB / 0.5251 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.3093, allocations: 201.7 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.3093, allocations: 88.88 kB / 0.5253 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.3093, allocations: 2 kB / 0.5253 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.3094, allocations: 5.25 kB / 0.5253 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.3094, allocations: 9.219 kB / 0.5253 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.3095, allocations: 2.766 kB / 0.5254 GB, free: 15.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.3096, allocations: 159.9 kB / 0.5255 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3096, allocations: 0 / 0.5255 GB, free: 15.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000243/0.3098, allocations: 24.09 kB / 0.5255 GB, free: 15.13 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.00098/0.3108, allocations: 456.1 kB / 0.526 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.311, allocations: 68.77 kB / 0.526 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.3111, allocations: 3.938 kB / 0.526 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/0.3112, allocations: 30.88 kB / 0.5261 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.3115, allocations: 22.25 kB / 0.5261 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.3119, allocations: 278 kB / 0.5263 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.3122, allocations: 0.7115 MB / 0.527 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/0.3122, allocations: 17.53 kB / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3122, allocations: 0 / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Templates: time 0.003281/0.3155, allocations: 1.709 MB / 0.5287 GB, free: 13.38 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches