Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, 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.002527/0.002527, 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.459/1.459, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2205/0.2205, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001208, allocations: 59.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4168, allocations: 60.83 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002807/0.4197, allocations: 1.62 MB / 0.5205 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006938/0.4204, allocations: 451.7 kB / 0.5209 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.4205, allocations: 1.344 kB / 0.5209 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006657/0.4211, allocations: 450.8 kB / 0.5214 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004291/0.4216, allocations: 252.8 kB / 0.5216 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004803/0.4221, allocations: 174.5 kB / 0.5218 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.4224, allocations: 163.4 kB / 0.5219 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.717e-05/0.4225, allocations: 19.08 kB / 0.5219 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.4226, allocations: 107.5 kB / 0.522 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.4228, allocations: 211.8 kB / 0.5222 GB, free: 2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.4229, allocations: 2.75 kB / 0.5222 GB, free: 2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.042e-05/0.4229, allocations: 34.22 kB / 0.5223 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.347e-05/0.423, allocations: 90.72 kB / 0.5224 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.711e-05/0.4231, allocations: 99.66 kB / 0.5225 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.4233, allocations: 253.2 kB / 0.5227 GB, free: 1.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.4234, allocations: 1.031 kB / 0.5227 GB, free: 1.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.4234, allocations: 0 / 0.5227 GB, free: 1.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.4234, allocations: 0 / 0.5227 GB, free: 1.762 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.0004571/0.4238, allocations: 0.6323 MB / 0.5233 GB, free: 1.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.68e-05/0.4239, allocations: 10.56 kB / 0.5233 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.4239, allocations: 42.53 kB / 0.5234 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.4241, allocations: 299.1 kB / 0.5237 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-06/0.4241, allocations: 2.375 kB / 0.5237 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.4241, allocations: 2.344 kB / 0.5237 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.4242, allocations: 60.5 kB / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.4242, allocations: 5.844 kB / 0.5237 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.4243, allocations: 0 / 0.5237 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-06/0.4243, allocations: 3.938 kB / 0.5237 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.187e-05/0.4244, allocations: 35.44 kB / 0.5238 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.4247, allocations: 398.1 kB / 0.5241 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.4249, allocations: 46.94 kB / 0.5242 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.875e-05/0.425, allocations: 17.52 kB / 0.5242 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.425, allocations: 2.188 kB / 0.5242 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.425, allocations: 32.34 kB / 0.5242 GB, free: 436 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.425, allocations: 4 kB / 0.5242 GB, free: 432 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005557/0.4256, allocations: 228.6 kB / 0.5245 GB, free: 308 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.4256, allocations: 53.56 kB / 0.5245 GB, free: 244 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008194/0.4265, allocations: 0.8598 MB / 0.5254 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.4265, allocations: 27.14 kB / 0.5254 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.4267, allocations: 224.3 kB / 0.5256 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.4267, allocations: 21.95 kB / 0.5256 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.4267, allocations: 19.06 kB / 0.5256 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4269, allocations: 359.1 kB / 0.526 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/0.427, allocations: 20.64 kB / 0.526 GB, free: 15.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.959e-05/0.427, allocations: 24.73 kB / 0.526 GB, free: 15.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.4272, allocations: 51.7 kB / 0.5261 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4272, allocations: 4 kB / 0.5261 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002234/0.4274, allocations: 117.3 kB / 0.5262 GB, free: 15.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4274, allocations: 5.344 kB / 0.5262 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4275, allocations: 0 / 0.5262 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.4275, allocations: 1.062 kB / 0.5262 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.598e-05/0.4275, allocations: 14.09 kB / 0.5262 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.4276, allocations: 3.984 kB / 0.5262 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.635e-05/0.4276, allocations: 10.78 kB / 0.5262 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.4276, allocations: 1.594 kB / 0.5262 GB, free: 15.16 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 (5): * Single equations (assignments): 5 * 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.0001842/0.4278, allocations: 218.7 kB / 0.5264 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.4279, allocations: 38.94 kB / 0.5265 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.4282, allocations: 141.2 kB / 0.5266 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.4282, allocations: 1.406 kB / 0.5266 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4282, allocations: 320 / 0.5266 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4282, allocations: 3.938 kB / 0.5266 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006557/0.4289, allocations: 467.5 kB / 0.527 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4289, allocations: 3.938 kB / 0.5271 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.138e-05/0.429, allocations: 17.92 kB / 0.5271 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.429, allocations: 0 / 0.5271 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.429, allocations: 5.281 kB / 0.5271 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.429, allocations: 0 / 0.5271 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.429, allocations: 3.938 kB / 0.5271 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.4293, allocations: 221.6 kB / 0.5273 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.22e-05/0.4294, allocations: 110.3 kB / 0.5274 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.4294, allocations: 3.938 kB / 0.5274 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.4295, allocations: 7.203 kB / 0.5274 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.4296, allocations: 7.062 kB / 0.5274 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.4296, allocations: 5.109 kB / 0.5274 GB, free: 14.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006439/0.4302, allocations: 0.6515 MB / 0.5281 GB, free: 13.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4302, allocations: 4 kB / 0.5281 GB, free: 13.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000266/0.4305, allocations: 22.09 kB / 0.5281 GB, free: 13.82 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 (5): * Single equations (assignments): 5 * 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.0009389/0.4315, allocations: 404.2 kB / 0.5285 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.4317, allocations: 47.19 kB / 0.5285 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4317, allocations: 3.938 kB / 0.5285 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.064e-05/0.4318, allocations: 29.42 kB / 0.5285 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.4322, allocations: 32.42 kB / 0.5286 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.4332, allocations: 0.7894 MB / 0.5293 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.4337, allocations: 0.829 MB / 0.5302 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.978e-05/0.4337, allocations: 12.11 kB / 0.5302 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.4338, allocations: 12.25 kB / 0.5302 GB, free: 12.38 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4338, allocations: 0 / 0.5302 GB, free: 12.38 MB / 398.1 MB Notification: Performance of Templates: time 0.00462/0.4384, allocations: 1.482 MB / 0.5316 GB, free: 11.64 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches