Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002358/0.002358, allocations: 183.9 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 253.3 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2459/0.2459, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 75.88 kB / 497.7 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.5029, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003443/0.5063, allocations: 1.6 MB / 0.5504 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008659/0.5072, allocations: 452.6 kB / 0.5508 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.746e-05/0.5072, allocations: 1.344 kB / 0.5508 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.5079, allocations: 452.9 kB / 0.5513 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.5083, allocations: 246.8 kB / 0.5515 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.5087, allocations: 175 kB / 0.5517 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.509, allocations: 151.4 kB / 0.5518 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.5091, allocations: 16.61 kB / 0.5518 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.5092, allocations: 109.9 kB / 0.5519 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.5095, allocations: 242.4 kB / 0.5522 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.5095, allocations: 6.656 kB / 0.5522 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.971e-05/0.5096, allocations: 25.55 kB / 0.5522 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.5097, allocations: 86.45 kB / 0.5523 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.5098, allocations: 98 kB / 0.5524 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.5102, allocations: 242.4 kB / 0.5526 GB, free: 10.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5102, allocations: 0 / 0.5526 GB, free: 10.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5102, allocations: 0 / 0.5526 GB, free: 10.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.5102, allocations: 1.094 kB / 0.5526 GB, free: 10.63 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008103/0.511, allocations: 0.5638 MB / 0.5531 GB, free: 10.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.511, allocations: 13.48 kB / 0.5532 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.249e-05/0.5111, allocations: 51.06 kB / 0.5532 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.5114, allocations: 240.4 kB / 0.5534 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.5114, allocations: 1.594 kB / 0.5534 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.5114, allocations: 1.781 kB / 0.5534 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.5116, allocations: 57.78 kB / 0.5535 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.5116, allocations: 0 / 0.5535 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.5116, allocations: 0 / 0.5535 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.5116, allocations: 1.156 kB / 0.5535 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.245e-05/0.5117, allocations: 22.64 kB / 0.5535 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.5123, allocations: 357.6 kB / 0.5539 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.722e-05/0.5124, allocations: 36.72 kB / 0.5539 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.5124, allocations: 15.67 kB / 0.5539 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.5124, allocations: 3.984 kB / 0.5539 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.5125, allocations: 35.81 kB / 0.5539 GB, free: 9.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.5125, allocations: 0 / 0.5539 GB, free: 9.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003181/0.5128, allocations: 103.8 kB / 0.554 GB, free: 9.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.5128, allocations: 56.5 kB / 0.5541 GB, free: 9.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009431/0.5138, allocations: 0.8533 MB / 0.5549 GB, free: 8.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.5138, allocations: 25.7 kB / 0.555 GB, free: 8.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.514, allocations: 221.6 kB / 0.5552 GB, free: 8.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.514, allocations: 5.578 kB / 0.5552 GB, free: 8.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.514, allocations: 20.38 kB / 0.5552 GB, free: 8.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.5142, allocations: 359.6 kB / 0.5555 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.83e-05/0.5143, allocations: 13.64 kB / 0.5555 GB, free: 8.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.689e-05/0.5143, allocations: 5.594 kB / 0.5555 GB, free: 8.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.558e-05/0.5144, allocations: 30.52 kB / 0.5556 GB, free: 8.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5144, allocations: 0 / 0.5556 GB, free: 8.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001751/0.5146, allocations: 95.56 kB / 0.5557 GB, free: 8.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.5146, allocations: 4.688 kB / 0.5557 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5146, allocations: 3.938 kB / 0.5557 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.5146, allocations: 1.125 kB / 0.5557 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.5147, allocations: 8.391 kB / 0.5557 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.5147, allocations: 0 / 0.5557 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.5148, allocations: 6.344 kB / 0.5557 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.5148, allocations: 5.125 kB / 0.5557 GB, free: 8.137 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 (2): * Single equations (assignments): 2 * 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.0002194/0.515, allocations: 221.5 kB / 0.5559 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.917e-05/0.5151, allocations: 49.05 kB / 0.556 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.5153, allocations: 108.7 kB / 0.5561 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5153, allocations: 4 kB / 0.5561 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5153, allocations: 0 / 0.5561 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5153, allocations: 0 / 0.5561 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.5157, allocations: 256.5 kB / 0.5563 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5157, allocations: 0 / 0.5563 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.5157, allocations: 7.969 kB / 0.5563 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.5157, allocations: 8 kB / 0.5563 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.5157, allocations: 0 / 0.5563 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.5157, allocations: 0 / 0.5563 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/0.5157, allocations: 7.969 kB / 0.5563 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.5159, allocations: 191.2 kB / 0.5565 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.516, allocations: 31.72 kB / 0.5565 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.516, allocations: 32 / 0.5565 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.5161, allocations: 11.98 kB / 0.5566 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.5161, allocations: 0 / 0.5566 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.5161, allocations: 0 / 0.5566 GB, free: 7.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006795/0.5168, allocations: 0.6472 MB / 0.5572 GB, free: 6.613 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5168, allocations: 0 / 0.5572 GB, free: 6.613 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.5171, allocations: 27.92 kB / 0.5572 GB, free: 6.586 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 (2): * Single equations (assignments): 2 * 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.00126/0.5183, allocations: 341 kB / 0.5575 GB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.5185, allocations: 27.92 kB / 0.5576 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5185, allocations: 0 / 0.5576 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.058e-05/0.5186, allocations: 11.98 kB / 0.5576 GB, free: 6.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.519, allocations: 37.41 kB / 0.5576 GB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.5201, allocations: 0.7666 MB / 0.5584 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/0.5207, allocations: 0.8258 MB / 0.5592 GB, free: 4.656 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.55e-05/0.5207, allocations: 11.97 kB / 0.5592 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.5207, allocations: 11.44 kB / 0.5592 GB, free: 4.637 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5207, allocations: 0 / 0.5592 GB, free: 4.637 MB / 398.1 MB Notification: Performance of Templates: time 0.005354/0.5261, allocations: 1.308 MB / 0.5605 GB, free: 3.332 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.565534175373614]