Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001175/0.001175, allocations: 180.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.349/1.349, 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.209/0.209, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 63.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4016, allocations: 60.83 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002781/0.4045, allocations: 1.627 MB / 0.5205 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.4057, allocations: 1.03 MB / 0.5215 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.671e-05/0.4058, allocations: 1.406 kB / 0.5215 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.4059, allocations: 22.5 kB / 0.5215 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.4062, allocations: 46.45 kB / 0.5216 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.4065, allocations: 132.1 kB / 0.5217 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.4066, allocations: 61.48 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.189e-05/0.4067, allocations: 17.97 kB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.856e-05/0.4067, allocations: 28.23 kB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.4069, allocations: 34.41 kB / 0.5218 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.4069, allocations: 4.25 kB / 0.5219 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.439e-05/0.407, allocations: 48.38 kB / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.092e-05/0.407, allocations: 19.45 kB / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.4071, allocations: 22.62 kB / 0.5219 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.4073, allocations: 93.52 kB / 0.522 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4073, allocations: 0.5625 kB / 0.522 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4073, allocations: 0 / 0.522 GB, free: 1.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.4073, allocations: 1.156 kB / 0.522 GB, free: 1.504 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.0003775/0.4077, allocations: 391.8 kB / 0.5224 GB, free: 1.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.4077, allocations: 10.47 kB / 0.5224 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.4078, allocations: 8.469 kB / 0.5224 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.4079, allocations: 186.4 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.4079, allocations: 2.656 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.408, allocations: 7.062 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.4081, allocations: 72.56 kB / 0.5227 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4082, allocations: 5.188 kB / 0.5227 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.4082, allocations: 0 / 0.5227 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4082, allocations: 1.156 kB / 0.5227 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.4083, allocations: 36.88 kB / 0.5227 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.4086, allocations: 287.2 kB / 0.523 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.4087, allocations: 49.59 kB / 0.523 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.152e-05/0.4088, allocations: 23.08 kB / 0.5231 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.4088, allocations: 5.719 kB / 0.5231 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.4088, allocations: 31.53 kB / 0.5231 GB, free: 456 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4089, allocations: 3.938 kB / 0.5231 GB, free: 452 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006671/0.4095, allocations: 197.9 kB / 0.5233 GB, free: 376 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.4096, allocations: 80.22 kB / 0.5234 GB, free: 280 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.4097, allocations: 133.3 kB / 0.5235 GB, free: 164 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.4097, allocations: 30.77 kB / 0.5235 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.4097, allocations: 93.09 kB / 0.5236 GB, free: 36 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.4098, allocations: 24.27 kB / 0.5236 GB, free: 16 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/0.4098, allocations: 25.19 kB / 0.5237 GB, free: 15.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4099, allocations: 318.6 kB / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.4101, allocations: 38.73 kB / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.4102, allocations: 46.06 kB / 0.524 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.4104, allocations: 74.22 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4104, allocations: 3.938 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002457/0.4106, allocations: 117.5 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.4106, allocations: 4.562 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4107, allocations: 0.9844 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.4107, allocations: 1.281 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.4108, allocations: 23.5 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.4108, allocations: 0 / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.455e-05/0.4109, allocations: 13.5 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.4109, allocations: 1.656 kB / 0.5243 GB, free: 15.55 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 7.943e-05/0.411, allocations: 115.5 kB / 0.5244 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.411, allocations: 12.58 kB / 0.5244 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.4113, allocations: 129.6 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4113, allocations: 1.031 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4113, allocations: 0.9688 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.4113, allocations: 4.453 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.4119, allocations: 377.4 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4119, allocations: 6.453 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.226e-05/0.4119, allocations: 21.38 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.412, allocations: 1.812 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.412, allocations: 4.547 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.412, allocations: 0 / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.412, allocations: 2.719 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.4123, allocations: 208.1 kB / 0.5251 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.4123, allocations: 84.61 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.4123, allocations: 4.547 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.4124, allocations: 8.828 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.4125, allocations: 5.75 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.4125, allocations: 2.875 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.614e-05/0.4126, allocations: 114 kB / 0.5253 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4126, allocations: 1.688 kB / 0.5253 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.4128, allocations: 29.17 kB / 0.5254 GB, free: 14.65 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.0009254/0.4138, allocations: 442.7 kB / 0.5258 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000278/0.4141, allocations: 82.48 kB / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4141, allocations: 0 / 0.5259 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.4142, allocations: 41.38 kB / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.4145, allocations: 24.58 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.4148, allocations: 179.6 kB / 0.5261 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.4151, allocations: 0.7033 MB / 0.5268 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.746e-05/0.4152, allocations: 13.03 kB / 0.5268 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.4152, allocations: 15.91 kB / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4152, allocations: 0 / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of Templates: time 0.004106/0.4193, allocations: 1.518 MB / 0.5283 GB, free: 13.04 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches