Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 112.1 kB / 17.78 MB, free: 5.285 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.001191/0.001191, allocations: 183.9 kB / 18.71 MB, free: 4.371 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.431/1.431, 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.2182/0.2182, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 60.05 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.466, allocations: 60.83 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002706/0.4687, allocations: 1.587 MB / 0.5205 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006773/0.4694, allocations: 407 kB / 0.5209 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.577e-05/0.4695, allocations: 1 kB / 0.5209 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.4699, allocations: 120.7 kB / 0.521 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.4701, allocations: 89.14 kB / 0.5211 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.4704, allocations: 88.38 kB / 0.5211 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.4706, allocations: 88.12 kB / 0.5212 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.4707, allocations: 14.56 kB / 0.5212 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.857e-05/0.4708, allocations: 48.25 kB / 0.5213 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.4709, allocations: 82.53 kB / 0.5214 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.471, allocations: 3.219 kB / 0.5214 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.4711, allocations: 47.67 kB / 0.5214 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.798e-05/0.4712, allocations: 23.22 kB / 0.5214 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.4712, allocations: 39.66 kB / 0.5215 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.4714, allocations: 119.5 kB / 0.5216 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4715, allocations: 1.375 kB / 0.5216 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4715, allocations: 0 / 0.5216 GB, free: 1.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.4715, allocations: 0 / 0.5216 GB, free: 1.992 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.0004603/0.4719, allocations: 428.2 kB / 0.522 GB, free: 1.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.472, allocations: 10.42 kB / 0.522 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.472, allocations: 10.78 kB / 0.522 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.4722, allocations: 204.5 kB / 0.5222 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.4722, allocations: 2.688 kB / 0.5222 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.4723, allocations: 2.719 kB / 0.5222 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.4724, allocations: 64.02 kB / 0.5223 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4724, allocations: 0.7031 kB / 0.5223 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4725, allocations: 1.25 kB / 0.5223 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4725, allocations: 0 / 0.5223 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.863e-05/0.4726, allocations: 28.41 kB / 0.5223 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.4729, allocations: 305.1 kB / 0.5226 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.473, allocations: 53.98 kB / 0.5227 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.4731, allocations: 16.11 kB / 0.5227 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.4731, allocations: 1 kB / 0.5227 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.4731, allocations: 43.56 kB / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4732, allocations: 0 / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008915/0.474, allocations: 220.5 kB / 0.5229 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.4741, allocations: 57.64 kB / 0.523 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.4744, allocations: 276.4 kB / 0.5232 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.4744, allocations: 25.7 kB / 0.5233 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.4744, allocations: 116.7 kB / 0.5234 GB, free: 468 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.4745, allocations: 23.98 kB / 0.5234 GB, free: 448 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.4745, allocations: 25.05 kB / 0.5234 GB, free: 424 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.4746, allocations: 324.1 kB / 0.5237 GB, free: 100 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.75e-05/0.4747, allocations: 22.55 kB / 0.5238 GB, free: 96 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.261e-05/0.4748, allocations: 35.38 kB / 0.5238 GB, free: 80 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.4749, allocations: 59.7 kB / 0.5238 GB, free: 56 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4749, allocations: 0 / 0.5238 GB, free: 56 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002384/0.4752, allocations: 105.8 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.4752, allocations: 5.844 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4752, allocations: 0 / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.4753, allocations: 6.656 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.4754, allocations: 16.94 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.4754, allocations: 7.875 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.4754, allocations: 5.547 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.4754, allocations: 1.531 kB / 0.524 GB, free: 15.98 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.0001119/0.4756, allocations: 134.2 kB / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.4756, allocations: 14.36 kB / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.4759, allocations: 125.7 kB / 0.5243 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4759, allocations: 0 / 0.5243 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4759, allocations: 6.703 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.4759, allocations: 0 / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005474/0.4765, allocations: 406.7 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4765, allocations: 0 / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-05/0.4766, allocations: 29.08 kB / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4766, allocations: 4.547 kB / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.4766, allocations: 1.781 kB / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4766, allocations: 2.578 kB / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4766, allocations: 0 / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.4769, allocations: 204.2 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.4769, allocations: 93.5 kB / 0.525 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.477, allocations: 6.156 kB / 0.525 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.4771, allocations: 12.75 kB / 0.525 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.4771, allocations: 6.391 kB / 0.525 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.4771, allocations: 2.125 kB / 0.525 GB, free: 15.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.4773, allocations: 205 kB / 0.5252 GB, free: 15.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4773, allocations: 3.938 kB / 0.5252 GB, free: 15.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.4776, allocations: 22.92 kB / 0.5252 GB, free: 15.01 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.001077/0.4787, allocations: 461.5 kB / 0.5257 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.4789, allocations: 64.14 kB / 0.5257 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4789, allocations: 1.344 kB / 0.5257 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-05/0.479, allocations: 38.81 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.4794, allocations: 17.31 kB / 0.5258 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.48, allocations: 299.3 kB / 0.5261 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.4803, allocations: 0.7213 MB / 0.5268 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.824e-05/0.4804, allocations: 13.45 kB / 0.5268 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.4804, allocations: 13.55 kB / 0.5268 GB, free: 13.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4804, allocations: 0 / 0.5268 GB, free: 13.84 MB / 398.1 MB Notification: Performance of Templates: time 0.004201/0.4846, allocations: 1.356 MB / 0.5281 GB, free: 13.4 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches