Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 118.4 kB / 17.78 MB, free: 5.254 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.001169/0.001169, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.367/1.367, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2388/0.2388, allocations: 44.19 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4119, allocations: 60.81 MB / 0.5189 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002629/0.4145, allocations: 1.656 MB / 0.5206 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006883/0.4152, allocations: 422 kB / 0.521 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.4153, allocations: 1.156 kB / 0.521 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.4155, allocations: 44.88 kB / 0.521 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.4157, allocations: 51.94 kB / 0.521 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.416, allocations: 136.9 kB / 0.5212 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.4162, allocations: 71.06 kB / 0.5212 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.4163, allocations: 20.45 kB / 0.5213 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.881e-05/0.4163, allocations: 30.3 kB / 0.5213 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.685e-05/0.4164, allocations: 49.55 kB / 0.5213 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.4165, allocations: 3.281 kB / 0.5213 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.4166, allocations: 51.89 kB / 0.5214 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.055e-05/0.4166, allocations: 15.05 kB / 0.5214 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.4167, allocations: 34.97 kB / 0.5214 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.4169, allocations: 100.1 kB / 0.5215 GB, free: 2.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4169, allocations: 4.875 kB / 0.5215 GB, free: 2.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4169, allocations: 0 / 0.5215 GB, free: 2.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.4169, allocations: 0 / 0.5215 GB, free: 2.18 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.000498/0.4174, allocations: 405.6 kB / 0.5219 GB, free: 1.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.4175, allocations: 10.48 kB / 0.5219 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.4175, allocations: 9.516 kB / 0.5219 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.4177, allocations: 195.6 kB / 0.5221 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.4177, allocations: 5.375 kB / 0.5221 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.4177, allocations: 8.25 kB / 0.5221 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.4179, allocations: 67.39 kB / 0.5222 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4179, allocations: 1.125 kB / 0.5222 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.418, allocations: 0 / 0.5222 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.418, allocations: 1.156 kB / 0.5222 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.4181, allocations: 39.56 kB / 0.5223 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.4185, allocations: 301 kB / 0.5225 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.4187, allocations: 52.19 kB / 0.5226 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.681e-05/0.4188, allocations: 29.69 kB / 0.5226 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.4188, allocations: 0 / 0.5226 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.4189, allocations: 40.41 kB / 0.5227 GB, free: 1.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.4189, allocations: 0 / 0.5227 GB, free: 1.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001493/0.4203, allocations: 381 kB / 0.523 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.4204, allocations: 57.25 kB / 0.5231 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.4206, allocations: 168.6 kB / 0.5232 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.4206, allocations: 29.7 kB / 0.5233 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.4206, allocations: 99.77 kB / 0.5234 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.4206, allocations: 46.73 kB / 0.5234 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.4207, allocations: 23.28 kB / 0.5234 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.893e-05/0.4208, allocations: 320.5 kB / 0.5237 GB, free: 312 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.4209, allocations: 42.95 kB / 0.5238 GB, free: 300 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.421, allocations: 49.56 kB / 0.5238 GB, free: 284 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.4213, allocations: 100.3 kB / 0.5239 GB, free: 244 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4213, allocations: 2.141 kB / 0.5239 GB, free: 244 kB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003166/0.4216, allocations: 140.8 kB / 0.5241 GB, free: 176 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.4216, allocations: 4.531 kB / 0.5241 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4216, allocations: 5.734 kB / 0.5241 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4216, allocations: 1.031 kB / 0.5241 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.4217, allocations: 29.45 kB / 0.5241 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4217, allocations: 0.5625 kB / 0.5241 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.735e-05/0.4218, allocations: 13.03 kB / 0.5241 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.4218, allocations: 3.641 kB / 0.5241 GB, free: 164 kB / 382.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 6.805e-05/0.4219, allocations: 128.4 kB / 0.5242 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.4219, allocations: 16.05 kB / 0.5242 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.4223, allocations: 159.2 kB / 0.5244 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4223, allocations: 5.625 kB / 0.5244 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4223, allocations: 1.719 kB / 0.5244 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4223, allocations: 0.6094 kB / 0.5244 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.4229, allocations: 472 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.4229, allocations: 4 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.814e-05/0.423, allocations: 26.67 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.423, allocations: 1.281 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.423, allocations: 6.219 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.423, allocations: 1.406 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4231, allocations: 4.656 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.4234, allocations: 249.5 kB / 0.5251 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.4234, allocations: 84.36 kB / 0.5252 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.4235, allocations: 6.922 kB / 0.5252 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-05/0.4236, allocations: 13.41 kB / 0.5252 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.4236, allocations: 12.23 kB / 0.5252 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.4236, allocations: 4.078 kB / 0.5252 GB, free: 15.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.4237, allocations: 126.2 kB / 0.5254 GB, free: 15.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4237, allocations: 0 / 0.5254 GB, free: 15.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.424, allocations: 29.78 kB / 0.5254 GB, free: 15.15 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.001085/0.4251, allocations: 452.3 kB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003704/0.4255, allocations: 106.2 kB / 0.5259 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4255, allocations: 4 kB / 0.5259 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.4256, allocations: 57.36 kB / 0.526 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.426, allocations: 21.27 kB / 0.526 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.4265, allocations: 258.2 kB / 0.5263 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.4268, allocations: 0.7152 MB / 0.527 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.117e-05/0.4269, allocations: 14.36 kB / 0.527 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.4269, allocations: 14.94 kB / 0.527 GB, free: 13.97 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4269, allocations: 3.938 kB / 0.527 GB, free: 13.97 MB / 398.1 MB Notification: Performance of Templates: time 0.004329/0.4312, allocations: 1.541 MB / 0.5285 GB, free: 13.35 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches