Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 113.2 kB / 17.78 MB, free: 5.242 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.001187/0.001187, allocations: 184.2 kB / 18.71 MB, free: 4.32 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.426/1.426, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2174/0.2174, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 59.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4081, allocations: 60.83 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003114/0.4113, allocations: 1.582 MB / 0.5205 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007971/0.4121, allocations: 415.3 kB / 0.5209 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.4122, allocations: 3.938 kB / 0.5209 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003959/0.4126, allocations: 125.9 kB / 0.521 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.4128, allocations: 85.23 kB / 0.5211 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.4132, allocations: 116.4 kB / 0.5212 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.4134, allocations: 82.5 kB / 0.5213 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.4135, allocations: 15.67 kB / 0.5213 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.224e-05/0.4136, allocations: 52.67 kB / 0.5213 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.4137, allocations: 83.75 kB / 0.5214 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.4138, allocations: 3.312 kB / 0.5214 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.4139, allocations: 42.53 kB / 0.5215 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.378e-05/0.4139, allocations: 29.34 kB / 0.5215 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.414, allocations: 38.2 kB / 0.5215 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.4142, allocations: 109 kB / 0.5216 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4142, allocations: 0 / 0.5216 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4142, allocations: 0 / 0.5216 GB, free: 1.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.4142, allocations: 1.312 kB / 0.5216 GB, free: 1.988 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.0004717/0.4147, allocations: 436.3 kB / 0.522 GB, free: 1.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.4148, allocations: 9.938 kB / 0.5221 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.4148, allocations: 10.22 kB / 0.5221 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.415, allocations: 205 kB / 0.5223 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.415, allocations: 1.781 kB / 0.5223 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.415, allocations: 8.078 kB / 0.5223 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.4152, allocations: 57.3 kB / 0.5223 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4152, allocations: 0 / 0.5223 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.4152, allocations: 5.219 kB / 0.5223 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4152, allocations: 0 / 0.5223 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.4153, allocations: 31.05 kB / 0.5224 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.4157, allocations: 310.3 kB / 0.5227 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.4159, allocations: 44.81 kB / 0.5227 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.4159, allocations: 23.36 kB / 0.5227 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.416, allocations: 5.859 kB / 0.5227 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.416, allocations: 32.25 kB / 0.5228 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.435e-06/0.416, allocations: 3.938 kB / 0.5228 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009524/0.4169, allocations: 245.4 kB / 0.523 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.417, allocations: 56.34 kB / 0.523 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.4173, allocations: 273.8 kB / 0.5233 GB, free: 0.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.4173, allocations: 29.7 kB / 0.5233 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.4173, allocations: 111.6 kB / 0.5234 GB, free: 456 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.4174, allocations: 28.77 kB / 0.5235 GB, free: 432 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.4174, allocations: 22.34 kB / 0.5235 GB, free: 412 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.182e-05/0.4175, allocations: 327.6 kB / 0.5238 GB, free: 84 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/0.4176, allocations: 33.66 kB / 0.5238 GB, free: 72 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.363e-05/0.4177, allocations: 27.83 kB / 0.5239 GB, free: 68 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.4179, allocations: 75.52 kB / 0.5239 GB, free: 36 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4179, allocations: 0 / 0.5239 GB, free: 36 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002683/0.4182, allocations: 118.3 kB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4182, allocations: 5.797 kB / 0.5241 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4182, allocations: 3.984 kB / 0.5241 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4182, allocations: 5.312 kB / 0.5241 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.4183, allocations: 16.42 kB / 0.5241 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.4183, allocations: 5.656 kB / 0.5241 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.4184, allocations: 3.703 kB / 0.5241 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.4184, allocations: 3.062 kB / 0.5241 GB, free: 15.96 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 (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.0001092/0.4185, allocations: 135 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.4186, allocations: 14.19 kB / 0.5242 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/0.4189, allocations: 142.5 kB / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4189, allocations: 1.844 kB / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4189, allocations: 3.938 kB / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4189, allocations: 0.6094 kB / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005753/0.4195, allocations: 419.2 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4195, allocations: 3.938 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.379e-05/0.4196, allocations: 26.05 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4196, allocations: 0 / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.4196, allocations: 2.016 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4196, allocations: 1.688 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4196, allocations: 0.6094 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.42, allocations: 219.7 kB / 0.525 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.42, allocations: 97.22 kB / 0.5251 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.4201, allocations: 0.6094 kB / 0.5251 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.4202, allocations: 13 kB / 0.5251 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.4202, allocations: 6.156 kB / 0.5251 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.4202, allocations: 4.188 kB / 0.5251 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.4204, allocations: 204.8 kB / 0.5253 GB, free: 14.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4204, allocations: 0 / 0.5253 GB, free: 14.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.4207, allocations: 26.69 kB / 0.5254 GB, free: 14.97 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.001042/0.4217, allocations: 468.3 kB / 0.5258 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.422, allocations: 72.56 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.422, allocations: 4 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.762e-05/0.4221, allocations: 41.55 kB / 0.5259 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.4225, allocations: 21.22 kB / 0.5259 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.4231, allocations: 299.1 kB / 0.5262 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.4234, allocations: 0.722 MB / 0.5269 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.036e-05/0.4235, allocations: 16.97 kB / 0.5269 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.4235, allocations: 13.5 kB / 0.5269 GB, free: 13.81 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4235, allocations: 1.375 kB / 0.527 GB, free: 13.81 MB / 398.1 MB Notification: Performance of Templates: time 0.004374/0.4279, allocations: 1.398 MB / 0.5283 GB, free: 13.3 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches