Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 109.6 kB / 18.45 MB, free: 4.609 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.001209/0.001209, allocations: 186.2 kB / 19.38 MB, free: 3.688 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.337/1.337, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2087/0.2087, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.89 kB / 471.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3924, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003554/0.3961, allocations: 1.642 MB / 0.5212 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007992/0.3969, allocations: 457.7 kB / 0.5216 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.397, allocations: 1.344 kB / 0.5216 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007246/0.3977, allocations: 455.5 kB / 0.5221 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004588/0.3982, allocations: 249.4 kB / 0.5223 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.3986, allocations: 179.1 kB / 0.5225 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.399, allocations: 180.4 kB / 0.5227 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3991, allocations: 24.84 kB / 0.5227 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.3993, allocations: 110.9 kB / 0.5228 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.3996, allocations: 216.1 kB / 0.523 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.3996, allocations: 3.5 kB / 0.523 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.3997, allocations: 55.34 kB / 0.523 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.3998, allocations: 84.59 kB / 0.5231 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.373e-05/0.3999, allocations: 100.3 kB / 0.5232 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.4002, allocations: 271.7 kB / 0.5235 GB, free: 1.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4003, allocations: 0 / 0.5235 GB, free: 1.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4003, allocations: 1.531 kB / 0.5235 GB, free: 1.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.4003, allocations: 4 kB / 0.5235 GB, free: 1.688 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.0006297/0.4009, allocations: 0.6473 MB / 0.5241 GB, free: 1.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.401, allocations: 10.06 kB / 0.5241 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.401, allocations: 43.78 kB / 0.5242 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.4012, allocations: 298.4 kB / 0.5245 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.4013, allocations: 6 kB / 0.5245 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.4013, allocations: 3.75 kB / 0.5245 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.4015, allocations: 76.91 kB / 0.5245 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4015, allocations: 0 / 0.5245 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.4015, allocations: 4 kB / 0.5245 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.4015, allocations: 0 / 0.5245 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.4017, allocations: 38.97 kB / 0.5246 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.4021, allocations: 412.4 kB / 0.525 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.4024, allocations: 65.03 kB / 0.525 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.611e-05/0.4025, allocations: 25.48 kB / 0.5251 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.4025, allocations: 2.172 kB / 0.5251 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.4025, allocations: 31.94 kB / 0.5251 GB, free: 348 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.4025, allocations: 0 / 0.5251 GB, free: 348 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.00152/0.4041, allocations: 0.493 MB / 0.5256 GB, free: 148 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.4041, allocations: 60.34 kB / 0.5256 GB, free: 76 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008574/0.405, allocations: 0.856 MB / 0.5265 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.405, allocations: 29.7 kB / 0.5265 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.4052, allocations: 207.6 kB / 0.5267 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.4052, allocations: 40.89 kB / 0.5267 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.4053, allocations: 29.97 kB / 0.5268 GB, free: 15.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4054, allocations: 363.2 kB / 0.5271 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.4056, allocations: 56.83 kB / 0.5272 GB, free: 15.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.4057, allocations: 49.72 kB / 0.5272 GB, free: 14.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.406, allocations: 126.4 kB / 0.5273 GB, free: 14.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.406, allocations: 1.375 kB / 0.5273 GB, free: 14.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003772/0.4064, allocations: 200.7 kB / 0.5275 GB, free: 14.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4064, allocations: 5.562 kB / 0.5275 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4064, allocations: 3.984 kB / 0.5275 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4065, allocations: 0 / 0.5275 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.4066, allocations: 32.23 kB / 0.5276 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4066, allocations: 1.094 kB / 0.5276 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.75e-05/0.4067, allocations: 9.453 kB / 0.5276 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.4067, allocations: 7.875 kB / 0.5276 GB, free: 14.78 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 (11): * Single equations (assignments): 11 * 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.0001947/0.4069, allocations: 216.2 kB / 0.5278 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.407, allocations: 41.5 kB / 0.5278 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004554/0.4074, allocations: 234 kB / 0.528 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.4074, allocations: 5.875 kB / 0.528 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4075, allocations: 0 / 0.528 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4075, allocations: 0 / 0.528 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000868/0.4083, allocations: 0.5927 MB / 0.5286 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4084, allocations: 9.188 kB / 0.5286 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.4085, allocations: 24.39 kB / 0.5287 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.4085, allocations: 1.781 kB / 0.5287 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.4085, allocations: 1.062 kB / 0.5287 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.778e-06/0.4085, allocations: 5.891 kB / 0.5287 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4085, allocations: 0 / 0.5287 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.4089, allocations: 305.9 kB / 0.529 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.113e-05/0.409, allocations: 115 kB / 0.5291 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.4091, allocations: 6.219 kB / 0.5291 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.4092, allocations: 5.688 kB / 0.5291 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.4092, allocations: 12.7 kB / 0.5291 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.4093, allocations: 8.094 kB / 0.5291 GB, free: 13.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006971/0.41, allocations: 0.6495 MB / 0.5297 GB, free: 13.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.41, allocations: 0 / 0.5297 GB, free: 13.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000297/0.4103, allocations: 33.5 kB / 0.5298 GB, free: 13.26 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001102/0.4114, allocations: 460.3 kB / 0.5302 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003566/0.4117, allocations: 131.2 kB / 0.5303 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4118, allocations: 1.344 kB / 0.5303 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.4119, allocations: 67.34 kB / 0.5304 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.4124, allocations: 32.64 kB / 0.5304 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.4136, allocations: 0.9047 MB / 0.5313 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.414, allocations: 0.8333 MB / 0.5321 GB, free: 11.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.4141, allocations: 15.19 kB / 0.5321 GB, free: 11.64 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4141, allocations: 0.9688 kB / 0.5321 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Templates: time 0.007816/0.4219, allocations: 4.195 MB / 0.5362 GB, free: 9.422 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches