Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 108.1 kB / 18.45 MB, free: 4.594 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.001348/0.001348, allocations: 180.2 kB / 19.37 MB, free: 3.676 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.325/1.325, 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.22/0.22, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 63.84 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3843, allocations: 60.83 MB / 0.5196 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002883/0.3872, allocations: 1.637 MB / 0.5212 GB, free: 2.738 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000773/0.388, allocations: 461.3 kB / 0.5216 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.093e-05/0.3881, allocations: 1.156 kB / 0.5216 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007129/0.3888, allocations: 455.2 kB / 0.5221 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004491/0.3893, allocations: 252.9 kB / 0.5223 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.3898, allocations: 166.7 kB / 0.5225 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.3901, allocations: 173.5 kB / 0.5226 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3903, allocations: 22.27 kB / 0.5227 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.3904, allocations: 111.7 kB / 0.5228 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.3907, allocations: 208 kB / 0.523 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.3907, allocations: 10.84 kB / 0.523 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.3909, allocations: 51.69 kB / 0.523 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.391, allocations: 86.19 kB / 0.5231 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.543e-05/0.3911, allocations: 101.1 kB / 0.5232 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.3915, allocations: 270.2 kB / 0.5235 GB, free: 1.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3915, allocations: 0 / 0.5235 GB, free: 1.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3915, allocations: 0 / 0.5235 GB, free: 1.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3915, allocations: 1.781 kB / 0.5235 GB, free: 1.973 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006235/0.3921, allocations: 0.6389 MB / 0.5241 GB, free: 1.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3922, allocations: 8.312 kB / 0.5241 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.074e-05/0.3923, allocations: 47.84 kB / 0.5241 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.3925, allocations: 295.1 kB / 0.5244 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3925, allocations: 5.844 kB / 0.5244 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.3925, allocations: 3.281 kB / 0.5244 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.3927, allocations: 65.75 kB / 0.5245 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3927, allocations: 3.938 kB / 0.5245 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3927, allocations: 5.781 kB / 0.5245 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.3927, allocations: 0 / 0.5245 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.3929, allocations: 34.78 kB / 0.5245 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.3933, allocations: 414.5 kB / 0.5249 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.3935, allocations: 44.66 kB / 0.525 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.3935, allocations: 15.03 kB / 0.525 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3936, allocations: 2.094 kB / 0.525 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.3936, allocations: 39.36 kB / 0.525 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3936, allocations: 0 / 0.525 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009471/0.3945, allocations: 316 kB / 0.5253 GB, free: 484 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.3946, allocations: 56.72 kB / 0.5254 GB, free: 416 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007851/0.3954, allocations: 0.867 MB / 0.5262 GB, free: 24 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.3954, allocations: 25.7 kB / 0.5262 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.3956, allocations: 225.2 kB / 0.5265 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.3956, allocations: 23.33 kB / 0.5265 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.3957, allocations: 20.16 kB / 0.5265 GB, free: 15.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.3958, allocations: 364.4 kB / 0.5269 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.034e-05/0.3959, allocations: 32.66 kB / 0.5269 GB, free: 15.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.86e-05/0.396, allocations: 37.62 kB / 0.5269 GB, free: 15.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.3962, allocations: 69.42 kB / 0.527 GB, free: 15.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3962, allocations: 1.344 kB / 0.527 GB, free: 15.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002608/0.3965, allocations: 141.8 kB / 0.5271 GB, free: 15.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3965, allocations: 6.438 kB / 0.5271 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3965, allocations: 0 / 0.5271 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3965, allocations: 7.922 kB / 0.5271 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.3966, allocations: 18.81 kB / 0.5272 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.3966, allocations: 3.938 kB / 0.5272 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.3967, allocations: 7.016 kB / 0.5272 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.3967, allocations: 2.906 kB / 0.5272 GB, free: 15.23 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.0001795/0.3969, allocations: 214.7 kB / 0.5274 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.397, allocations: 42.69 kB / 0.5274 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/0.3973, allocations: 178 kB / 0.5276 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3973, allocations: 1.375 kB / 0.5276 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.3974, allocations: 7.922 kB / 0.5276 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3974, allocations: 5.125 kB / 0.5276 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006654/0.398, allocations: 0.5058 MB / 0.5281 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3981, allocations: 3.938 kB / 0.5281 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.868e-05/0.3981, allocations: 22.92 kB / 0.5281 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3981, allocations: 0 / 0.5281 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3982, allocations: 2.75 kB / 0.5281 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3982, allocations: 0 / 0.5281 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3982, allocations: 5.188 kB / 0.5281 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.3985, allocations: 246.1 kB / 0.5284 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.299e-05/0.3986, allocations: 122.1 kB / 0.5285 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.3986, allocations: 5.266 kB / 0.5285 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.032e-05/0.3987, allocations: 3.75 kB / 0.5285 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.3987, allocations: 7.609 kB / 0.5285 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.3988, allocations: 6.5 kB / 0.5285 GB, free: 14.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006654/0.3994, allocations: 0.6483 MB / 0.5291 GB, free: 13.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3994, allocations: 0 / 0.5291 GB, free: 13.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.3997, allocations: 30.12 kB / 0.5292 GB, free: 13.82 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.001057/0.4008, allocations: 459.6 kB / 0.5296 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.401, allocations: 75.33 kB / 0.5297 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4011, allocations: 5.625 kB / 0.5297 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.621e-05/0.4012, allocations: 44.03 kB / 0.5297 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.4016, allocations: 31.94 kB / 0.5297 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.4027, allocations: 0.8482 MB / 0.5306 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.4031, allocations: 0.8308 MB / 0.5314 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.4032, allocations: 14.31 kB / 0.5314 GB, free: 12.28 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4032, allocations: 4 kB / 0.5314 GB, free: 12.28 MB / 398.1 MB Notification: Performance of Templates: time 0.007833/0.411, allocations: 3.997 MB / 0.5353 GB, free: 10.16 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches