Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001351/0.001351, allocations: 110 kB / 21.23 MB, free: 0.6602 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.001402/0.001402, allocations: 186.4 kB / 24.51 MB, free: 4.035 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.574/1.574, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.2525/0.2525, allocations: 44.91 MB / 353.5 MB, free: 11.83 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002956/0.002956, allocations: 63.89 kB / 497.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4255, allocations: 64.29 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003814/0.4293, allocations: 1.621 MB / 0.5504 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.4304, allocations: 441.8 kB / 0.5508 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.4305, allocations: 4 kB / 0.5508 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009305/0.4315, allocations: 453.4 kB / 0.5513 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005339/0.432, allocations: 254.4 kB / 0.5515 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.4326, allocations: 172.1 kB / 0.5517 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.4329, allocations: 169.1 kB / 0.5518 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.433, allocations: 8.172 kB / 0.5518 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.4332, allocations: 107 kB / 0.5519 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.4335, allocations: 251 kB / 0.5522 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.4336, allocations: 2.25 kB / 0.5522 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.4337, allocations: 26.67 kB / 0.5522 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.4338, allocations: 82.78 kB / 0.5523 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.434, allocations: 106.3 kB / 0.5524 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004066/0.4344, allocations: 246.2 kB / 0.5526 GB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4344, allocations: 0 / 0.5526 GB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4344, allocations: 1.312 kB / 0.5526 GB, free: 10.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.4344, allocations: 0 / 0.5526 GB, free: 10.61 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.001067/0.4355, allocations: 0.5708 MB / 0.5532 GB, free: 10.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.4355, allocations: 10.89 kB / 0.5532 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.4356, allocations: 46.33 kB / 0.5532 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.436, allocations: 236.7 kB / 0.5535 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.4361, allocations: 5.375 kB / 0.5535 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.4361, allocations: 2.688 kB / 0.5535 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.4363, allocations: 59.86 kB / 0.5535 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.4363, allocations: 0 / 0.5535 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.4363, allocations: 0 / 0.5535 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.4364, allocations: 5.062 kB / 0.5535 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.4365, allocations: 31.78 kB / 0.5536 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006953/0.4372, allocations: 363.5 kB / 0.5539 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.4374, allocations: 45.78 kB / 0.5539 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.4374, allocations: 27.81 kB / 0.554 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.4375, allocations: 1.156 kB / 0.554 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.4375, allocations: 35.67 kB / 0.554 GB, free: 9.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4375, allocations: 0 / 0.554 GB, free: 9.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003981/0.4379, allocations: 125.1 kB / 0.5541 GB, free: 9.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.438, allocations: 55.34 kB / 0.5542 GB, free: 9.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.439, allocations: 0.8598 MB / 0.555 GB, free: 8.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.439, allocations: 29.7 kB / 0.5551 GB, free: 8.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.4392, allocations: 207.3 kB / 0.5552 GB, free: 8.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.4393, allocations: 5.203 kB / 0.5553 GB, free: 8.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.4393, allocations: 21.33 kB / 0.5553 GB, free: 8.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.4395, allocations: 363.7 kB / 0.5556 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-05/0.4396, allocations: 17.92 kB / 0.5556 GB, free: 8.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.655e-05/0.4397, allocations: 22.39 kB / 0.5557 GB, free: 8.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.4398, allocations: 39.3 kB / 0.5557 GB, free: 8.168 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4398, allocations: 0 / 0.5557 GB, free: 8.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002533/0.4401, allocations: 119.4 kB / 0.5558 GB, free: 8.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.4401, allocations: 5.312 kB / 0.5558 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4401, allocations: 1.062 kB / 0.5558 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.4401, allocations: 0 / 0.5558 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.393e-05/0.4402, allocations: 14.7 kB / 0.5558 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.4402, allocations: 1.062 kB / 0.5558 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.526e-05/0.4403, allocations: 7.391 kB / 0.5558 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.4403, allocations: 4.328 kB / 0.5558 GB, free: 8.07 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 (3): * Single equations (assignments): 3 * 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.0002382/0.4405, allocations: 221.7 kB / 0.5561 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.277e-05/0.4406, allocations: 39.72 kB / 0.5561 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003145/0.4409, allocations: 129.1 kB / 0.5562 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4409, allocations: 4 kB / 0.5562 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4409, allocations: 0 / 0.5562 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4409, allocations: 7.938 kB / 0.5562 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/0.4413, allocations: 260.5 kB / 0.5565 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4413, allocations: 0 / 0.5565 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/0.4414, allocations: 8 kB / 0.5565 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4414, allocations: 3.984 kB / 0.5565 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.4414, allocations: 4 kB / 0.5565 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4414, allocations: 0 / 0.5565 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4414, allocations: 0 / 0.5565 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.4417, allocations: 211.2 kB / 0.5567 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.4417, allocations: 31.72 kB / 0.5567 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.4418, allocations: 0 / 0.5567 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.056e-05/0.4418, allocations: 7.938 kB / 0.5567 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.4419, allocations: 3.984 kB / 0.5567 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.4419, allocations: 4 kB / 0.5567 GB, free: 7.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007367/0.4426, allocations: 0.6472 MB / 0.5574 GB, free: 6.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4426, allocations: 0 / 0.5574 GB, free: 6.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.4429, allocations: 23.94 kB / 0.5574 GB, free: 6.402 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 (3): * Single equations (assignments): 3 * 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.001296/0.4442, allocations: 352.3 kB / 0.5577 GB, free: 6.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.4445, allocations: 35.97 kB / 0.5578 GB, free: 6.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4445, allocations: 0 / 0.5578 GB, free: 6.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.335e-05/0.4445, allocations: 27.92 kB / 0.5578 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.445, allocations: 29.34 kB / 0.5578 GB, free: 6.098 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.4462, allocations: 0.779 MB / 0.5586 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.4467, allocations: 0.8333 MB / 0.5594 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.567e-05/0.4468, allocations: 15.97 kB / 0.5594 GB, free: 4.418 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.4468, allocations: 7.438 kB / 0.5594 GB, free: 4.414 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4468, allocations: 4 kB / 0.5594 GB, free: 4.41 MB / 398.1 MB Notification: Performance of Templates: time 0.00536/0.4522, allocations: 1.356 MB / 0.5607 GB, free: 3.051 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.5872078239917755]