Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 112.8 kB / 17.74 MB, free: 5.43 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.001214/0.001214, allocations: 187.1 kB / 18.66 MB, free: 4.508 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.457/1.457, allocations: 222.9 MB / 242.3 MB, free: 15.08 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.218/0.218, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5125/0.5138, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003396/0.5172, allocations: 1.639 MB / 0.5205 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.5181, allocations: 422.7 kB / 0.5209 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.484e-05/0.5182, allocations: 1.25 kB / 0.5209 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008611/0.5191, allocations: 458.2 kB / 0.5213 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005515/0.5197, allocations: 251.9 kB / 0.5216 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.5201, allocations: 133.1 kB / 0.5217 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.5205, allocations: 169 kB / 0.5218 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.5206, allocations: 14.95 kB / 0.5219 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.5209, allocations: 108.5 kB / 0.522 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003532/0.5212, allocations: 213.6 kB / 0.5222 GB, free: 2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.5212, allocations: 7.875 kB / 0.5222 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.5214, allocations: 47.56 kB / 0.5222 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.5216, allocations: 85.95 kB / 0.5223 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.244e-05/0.5217, allocations: 99.75 kB / 0.5224 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004198/0.5221, allocations: 266.9 kB / 0.5226 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5221, allocations: 1.062 kB / 0.5226 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5221, allocations: 0 / 0.5226 GB, free: 1.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.5221, allocations: 0 / 0.5226 GB, free: 1.754 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.0008503/0.523, allocations: 0.6423 MB / 0.5233 GB, free: 1.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/0.5231, allocations: 13.47 kB / 0.5233 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.401e-05/0.5232, allocations: 42.69 kB / 0.5233 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.5234, allocations: 285.6 kB / 0.5236 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.5235, allocations: 1.875 kB / 0.5236 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.5235, allocations: 4.5 kB / 0.5236 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.5237, allocations: 66.55 kB / 0.5237 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.5237, allocations: 3.906 kB / 0.5237 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.5237, allocations: 4.656 kB / 0.5237 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5237, allocations: 1.438 kB / 0.5237 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.5239, allocations: 30.33 kB / 0.5237 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.5244, allocations: 403.1 kB / 0.5241 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.5245, allocations: 40.78 kB / 0.5241 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/0.5246, allocations: 18.83 kB / 0.5241 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.5246, allocations: 1.656 kB / 0.5242 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.5246, allocations: 35.41 kB / 0.5242 GB, free: 420 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.5246, allocations: 0 / 0.5242 GB, free: 420 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00102/0.5256, allocations: 296.4 kB / 0.5245 GB, free: 280 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.5257, allocations: 60.66 kB / 0.5245 GB, free: 208 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.5268, allocations: 0.8593 MB / 0.5254 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.5268, allocations: 29.7 kB / 0.5254 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.527, allocations: 225.5 kB / 0.5256 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.527, allocations: 27.38 kB / 0.5256 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.5271, allocations: 22.73 kB / 0.5257 GB, free: 15.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.5273, allocations: 360.7 kB / 0.526 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.797e-05/0.5274, allocations: 24.95 kB / 0.526 GB, free: 15.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.506e-05/0.5275, allocations: 27.2 kB / 0.526 GB, free: 15.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.5277, allocations: 64.8 kB / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5277, allocations: 4 kB / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002498/0.5279, allocations: 130 kB / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.5279, allocations: 8.781 kB / 0.5262 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.528, allocations: 0 / 0.5262 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.528, allocations: 1.094 kB / 0.5262 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.5281, allocations: 22.52 kB / 0.5263 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.5281, allocations: 3.938 kB / 0.5263 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.714e-05/0.5282, allocations: 7.344 kB / 0.5263 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.5282, allocations: 6.438 kB / 0.5263 GB, free: 15.09 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.0002056/0.5284, allocations: 213.6 kB / 0.5265 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.5285, allocations: 38.97 kB / 0.5265 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000338/0.5288, allocations: 159 kB / 0.5267 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.5288, allocations: 1.344 kB / 0.5267 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.5288, allocations: 3.938 kB / 0.5267 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5289, allocations: 1.312 kB / 0.5267 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007195/0.5296, allocations: 0.4969 MB / 0.5272 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.5296, allocations: 3.938 kB / 0.5272 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.5297, allocations: 22.08 kB / 0.5272 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5297, allocations: 1.562 kB / 0.5272 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.5297, allocations: 1.219 kB / 0.5272 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5297, allocations: 1.469 kB / 0.5272 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5297, allocations: 432 / 0.5272 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.53, allocations: 241.5 kB / 0.5274 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.5301, allocations: 115.2 kB / 0.5275 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.5302, allocations: 1.281 kB / 0.5275 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.308e-05/0.5302, allocations: 6.922 kB / 0.5275 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.5303, allocations: 16.06 kB / 0.5276 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.5303, allocations: 2.719 kB / 0.5276 GB, free: 14.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008063/0.5311, allocations: 0.6457 MB / 0.5282 GB, free: 13.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5311, allocations: 0 / 0.5282 GB, free: 13.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003189/0.5315, allocations: 21.88 kB / 0.5282 GB, free: 13.72 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.001454/0.5329, allocations: 464.4 kB / 0.5287 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003439/0.5333, allocations: 71.22 kB / 0.5287 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.5333, allocations: 5.344 kB / 0.5287 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.5335, allocations: 38.39 kB / 0.5288 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005311/0.534, allocations: 28.11 kB / 0.5288 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.5359, allocations: 0.8038 MB / 0.5296 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.5365, allocations: 0.8261 MB / 0.5304 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.077e-05/0.5365, allocations: 20.3 kB / 0.5304 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.5366, allocations: 12.56 kB / 0.5304 GB, free: 12.21 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5366, allocations: 1.031 kB / 0.5304 GB, free: 12.21 MB / 398.1 MB Notification: Performance of Templates: time 0.006248/0.5428, allocations: 1.695 MB / 0.5321 GB, free: 11.36 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches