Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.001871/0.001871, allocations: 184.2 kB / 18.71 MB, free: 4.34 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.553/1.553, allocations: 222.9 MB / 242.4 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.2267/0.2267, allocations: 44.2 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4104, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002726/0.4131, allocations: 1.636 MB / 0.5205 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.4145, allocations: 1.052 MB / 0.5215 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.4146, allocations: 1.156 kB / 0.5215 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.4148, allocations: 24.39 kB / 0.5216 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.4151, allocations: 46.61 kB / 0.5216 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.4155, allocations: 175 kB / 0.5218 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.4157, allocations: 69.72 kB / 0.5218 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.4158, allocations: 19.72 kB / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.95e-05/0.4158, allocations: 24.78 kB / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.416, allocations: 32.25 kB / 0.5219 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.416, allocations: 4.344 kB / 0.5219 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.4161, allocations: 54.48 kB / 0.522 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.961e-05/0.4162, allocations: 20.91 kB / 0.522 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.4162, allocations: 27.16 kB / 0.522 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.4164, allocations: 104.1 kB / 0.5221 GB, free: 1.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4165, allocations: 0.6094 kB / 0.5221 GB, free: 1.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4165, allocations: 1.375 kB / 0.5221 GB, free: 1.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.4165, allocations: 0 / 0.5221 GB, free: 1.445 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.0004256/0.4169, allocations: 383.5 kB / 0.5225 GB, free: 1.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.417, allocations: 9.312 kB / 0.5225 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.417, allocations: 8.297 kB / 0.5225 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.4172, allocations: 187.1 kB / 0.5227 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.4172, allocations: 13.62 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.4172, allocations: 4.016 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.4174, allocations: 75.72 kB / 0.5228 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.4175, allocations: 0 / 0.5228 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.4175, allocations: 1.703 kB / 0.5228 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.4175, allocations: 5.156 kB / 0.5228 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.4176, allocations: 38.91 kB / 0.5228 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.418, allocations: 311.5 kB / 0.5231 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.4182, allocations: 46.86 kB / 0.5232 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.564e-05/0.4183, allocations: 25.25 kB / 0.5232 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.4183, allocations: 1.547 kB / 0.5232 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.4183, allocations: 36.36 kB / 0.5232 GB, free: 396 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4183, allocations: 0 / 0.5232 GB, free: 396 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008353/0.4192, allocations: 224.9 kB / 0.5234 GB, free: 308 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.4192, allocations: 84.42 kB / 0.5235 GB, free: 208 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.4194, allocations: 134.7 kB / 0.5236 GB, free: 96 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.4194, allocations: 27.3 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.4195, allocations: 92.88 kB / 0.5238 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.4195, allocations: 23.72 kB / 0.5238 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.4196, allocations: 21.98 kB / 0.5238 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4197, allocations: 323.2 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.4198, allocations: 45.88 kB / 0.5242 GB, free: 15.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.42, allocations: 51.33 kB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.4202, allocations: 91.2 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4202, allocations: 1.469 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003238/0.4206, allocations: 121.1 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.4206, allocations: 5.438 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4206, allocations: 0.8438 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4206, allocations: 0 / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.4208, allocations: 23.48 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.4208, allocations: 1.188 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.749e-05/0.4209, allocations: 20.36 kB / 0.5245 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.4209, allocations: 2.5 kB / 0.5245 GB, free: 15.47 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 0.000114/0.421, allocations: 122.2 kB / 0.5246 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.421, allocations: 7.188 kB / 0.5246 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.4214, allocations: 140.5 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4214, allocations: 1.031 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4214, allocations: 0.7031 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4215, allocations: 4.875 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.422, allocations: 409.7 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.422, allocations: 0 / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.361e-05/0.4221, allocations: 18.2 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4221, allocations: 2.031 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.4222, allocations: 3.938 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4222, allocations: 0.8906 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4222, allocations: 6.375 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.4225, allocations: 225 kB / 0.5254 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.4226, allocations: 83.44 kB / 0.5254 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.4226, allocations: 9.281 kB / 0.5254 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.11e-05/0.4227, allocations: 9.125 kB / 0.5255 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.4228, allocations: 10.02 kB / 0.5255 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.4228, allocations: 2.938 kB / 0.5255 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.936e-05/0.4228, allocations: 103.1 kB / 0.5256 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4229, allocations: 0 / 0.5256 GB, free: 14.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.4231, allocations: 27.39 kB / 0.5256 GB, free: 14.56 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.0009927/0.4241, allocations: 441.3 kB / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003552/0.4245, allocations: 95.08 kB / 0.5261 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4245, allocations: 0 / 0.5261 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.4247, allocations: 48.47 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.425, allocations: 25.73 kB / 0.5262 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004979/0.4255, allocations: 205.5 kB / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.4258, allocations: 0.7042 MB / 0.5271 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.4259, allocations: 34.7 kB / 0.5271 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.426, allocations: 15 kB / 0.5271 GB, free: 13.42 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.426, allocations: 0 / 0.5271 GB, free: 13.42 MB / 398.1 MB Notification: Performance of Templates: time 0.004787/0.4308, allocations: 1.536 MB / 0.5286 GB, free: 12.84 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches