Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 110 kB / 18.45 MB, free: 4.594 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.001249/0.001249, allocations: 188.2 kB / 19.38 MB, free: 3.668 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.541/1.541, allocations: 222.9 MB / 243.1 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.2392/0.2392, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.88 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4113, allocations: 60.83 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002979/0.4143, allocations: 1.586 MB / 0.5211 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000757/0.4151, allocations: 420.7 kB / 0.5215 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.4151, allocations: 1.312 kB / 0.5215 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.4155, allocations: 120.4 kB / 0.5217 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.4158, allocations: 89.45 kB / 0.5217 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.4161, allocations: 112.4 kB / 0.5219 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.4163, allocations: 86.27 kB / 0.5219 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.4164, allocations: 13.27 kB / 0.522 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.687e-05/0.4165, allocations: 53.14 kB / 0.522 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.4166, allocations: 79.86 kB / 0.5221 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.4167, allocations: 3.344 kB / 0.5221 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.4168, allocations: 38.39 kB / 0.5221 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.496e-05/0.4169, allocations: 28.55 kB / 0.5221 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.4169, allocations: 39.03 kB / 0.5222 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.4172, allocations: 124.9 kB / 0.5223 GB, free: 1.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4172, allocations: 0 / 0.5223 GB, free: 1.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4172, allocations: 0 / 0.5223 GB, free: 1.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.4172, allocations: 0.6094 kB / 0.5223 GB, free: 1.98 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.0004829/0.4177, allocations: 426.8 kB / 0.5227 GB, free: 1.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.4177, allocations: 10.39 kB / 0.5227 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.4177, allocations: 14.72 kB / 0.5227 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.4179, allocations: 201 kB / 0.5229 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.572e-06/0.4179, allocations: 1.531 kB / 0.5229 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.418, allocations: 11.42 kB / 0.5229 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.4181, allocations: 61 kB / 0.523 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4181, allocations: 4.969 kB / 0.523 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.4181, allocations: 4.703 kB / 0.523 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4181, allocations: 4.906 kB / 0.523 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.4182, allocations: 26.19 kB / 0.523 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.4186, allocations: 310.5 kB / 0.5233 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.4187, allocations: 47.62 kB / 0.5234 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.4188, allocations: 18.88 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.4188, allocations: 1.578 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.4188, allocations: 36.78 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.4188, allocations: 3.984 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009305/0.4197, allocations: 249.2 kB / 0.5237 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.4198, allocations: 57.89 kB / 0.5237 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.42, allocations: 270.9 kB / 0.524 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.42, allocations: 27.17 kB / 0.524 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.4201, allocations: 115.8 kB / 0.5241 GB, free: 436 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.4201, allocations: 28.67 kB / 0.5241 GB, free: 412 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.4202, allocations: 20.97 kB / 0.5242 GB, free: 392 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.4202, allocations: 329.6 kB / 0.5245 GB, free: 64 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.602e-05/0.4203, allocations: 25.77 kB / 0.5245 GB, free: 60 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.7e-05/0.4204, allocations: 34.27 kB / 0.5245 GB, free: 48 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.4206, allocations: 76.61 kB / 0.5246 GB, free: 16 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4206, allocations: 0 / 0.5246 GB, free: 16 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002588/0.4208, allocations: 113.8 kB / 0.5247 GB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4208, allocations: 5.219 kB / 0.5247 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.4208, allocations: 0 / 0.5247 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4209, allocations: 1.938 kB / 0.5247 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.421, allocations: 17.17 kB / 0.5247 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.421, allocations: 7.688 kB / 0.5248 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/0.421, allocations: 5.109 kB / 0.5248 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.421, allocations: 6.734 kB / 0.5248 GB, free: 15.95 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.0001376/0.4212, allocations: 135 kB / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.4212, allocations: 14.19 kB / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.4215, allocations: 137.7 kB / 0.525 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4215, allocations: 2 kB / 0.525 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.4215, allocations: 3.938 kB / 0.525 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4215, allocations: 0.6562 kB / 0.525 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006594/0.4222, allocations: 428 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4222, allocations: 3.938 kB / 0.5255 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.779e-05/0.4223, allocations: 26.66 kB / 0.5255 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4223, allocations: 0 / 0.5255 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.4223, allocations: 2.25 kB / 0.5255 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4223, allocations: 1.391 kB / 0.5255 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.4223, allocations: 5.109 kB / 0.5255 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.4226, allocations: 214.3 kB / 0.5257 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/0.4227, allocations: 93.31 kB / 0.5258 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.4227, allocations: 6.594 kB / 0.5258 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.4228, allocations: 9.141 kB / 0.5258 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.4228, allocations: 8.719 kB / 0.5258 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.4228, allocations: 7.594 kB / 0.5258 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.423, allocations: 204 kB / 0.526 GB, free: 14.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.423, allocations: 0 / 0.526 GB, free: 14.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.4233, allocations: 24.83 kB / 0.526 GB, free: 14.95 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.001718/0.425, allocations: 456.6 kB / 0.5265 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002557/0.4253, allocations: 70.94 kB / 0.5265 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4253, allocations: 0 / 0.5265 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.754e-05/0.4254, allocations: 36.84 kB / 0.5266 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.4258, allocations: 32.31 kB / 0.5266 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000634/0.4264, allocations: 307 kB / 0.5269 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.4268, allocations: 0.718 MB / 0.5276 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.136e-05/0.4269, allocations: 24.94 kB / 0.5276 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.427, allocations: 13.69 kB / 0.5276 GB, free: 13.79 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.427, allocations: 1.375 kB / 0.5276 GB, free: 13.79 MB / 398.1 MB Notification: Performance of Templates: time 0.004717/0.4317, allocations: 1.399 MB / 0.529 GB, free: 13.27 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches