Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.0014/0.0014, 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.001535/0.001535, allocations: 183.9 kB / 24.51 MB, free: 4.012 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.548/1.548, 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.2523/0.2523, allocations: 44.91 MB / 353.5 MB, free: 11.86 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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 71.86 kB / 497.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4125, allocations: 64.28 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003601/0.4161, allocations: 1.603 MB / 0.5504 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.4171, allocations: 442.8 kB / 0.5508 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.067e-05/0.4172, allocations: 1.219 kB / 0.5508 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007957/0.418, allocations: 439.8 kB / 0.5512 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005006/0.4185, allocations: 255.2 kB / 0.5515 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.4189, allocations: 127.7 kB / 0.5516 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.4193, allocations: 155.5 kB / 0.5517 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.4194, allocations: 7.344 kB / 0.5518 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.4196, allocations: 113.9 kB / 0.5519 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.4199, allocations: 250.1 kB / 0.5521 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.42, allocations: 2.344 kB / 0.5521 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.4201, allocations: 22.31 kB / 0.5521 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.4202, allocations: 77.67 kB / 0.5522 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.4203, allocations: 102.7 kB / 0.5523 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.4207, allocations: 245.1 kB / 0.5525 GB, free: 10.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4207, allocations: 0 / 0.5525 GB, free: 10.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4207, allocations: 0 / 0.5525 GB, free: 10.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.4207, allocations: 1.062 kB / 0.5525 GB, free: 10.67 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.0008417/0.4216, allocations: 0.5743 MB / 0.5531 GB, free: 10.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.4216, allocations: 9.641 kB / 0.5531 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.4217, allocations: 42.22 kB / 0.5531 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.422, allocations: 236.5 kB / 0.5534 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.422, allocations: 1.312 kB / 0.5534 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.422, allocations: 6.531 kB / 0.5534 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.4222, allocations: 57.7 kB / 0.5534 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.4222, allocations: 1.125 kB / 0.5534 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4222, allocations: 4 kB / 0.5534 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4222, allocations: 5.062 kB / 0.5534 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.4223, allocations: 25.77 kB / 0.5535 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005368/0.4229, allocations: 345 kB / 0.5538 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.423, allocations: 43.88 kB / 0.5538 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.348e-05/0.4231, allocations: 17.5 kB / 0.5538 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.4231, allocations: 5.25 kB / 0.5539 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.4231, allocations: 31.94 kB / 0.5539 GB, free: 9.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4231, allocations: 3.938 kB / 0.5539 GB, free: 9.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.000392/0.4235, allocations: 119.8 kB / 0.554 GB, free: 9.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.4236, allocations: 56.81 kB / 0.5541 GB, free: 9.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.4247, allocations: 0.8579 MB / 0.5549 GB, free: 8.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.4247, allocations: 25.7 kB / 0.5549 GB, free: 8.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.4249, allocations: 211.4 kB / 0.5551 GB, free: 8.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.4249, allocations: 13.06 kB / 0.5551 GB, free: 8.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.4249, allocations: 13.12 kB / 0.5551 GB, free: 8.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.4251, allocations: 367.6 kB / 0.5555 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.726e-05/0.4252, allocations: 11.92 kB / 0.5555 GB, free: 8.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.4253, allocations: 17.05 kB / 0.5555 GB, free: 8.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.4254, allocations: 35.47 kB / 0.5556 GB, free: 8.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4254, allocations: 1.125 kB / 0.5556 GB, free: 8.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002119/0.4256, allocations: 108.2 kB / 0.5557 GB, free: 8.168 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.4256, allocations: 8.656 kB / 0.5557 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4256, allocations: 1.156 kB / 0.5557 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.4256, allocations: 0 / 0.5557 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.101e-05/0.4257, allocations: 7.156 kB / 0.5557 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4257, allocations: 4 kB / 0.5557 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/0.4258, allocations: 7.484 kB / 0.5557 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.4258, allocations: 1.219 kB / 0.5557 GB, free: 8.156 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.0002823/0.4261, allocations: 213.5 kB / 0.5559 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.4261, allocations: 42.28 kB / 0.5559 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.4264, allocations: 121.1 kB / 0.5561 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4264, allocations: 4 kB / 0.5561 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4264, allocations: 4 kB / 0.5561 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4264, allocations: 3.938 kB / 0.5561 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.4268, allocations: 252.6 kB / 0.5563 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4268, allocations: 3.938 kB / 0.5563 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.4268, allocations: 12 kB / 0.5563 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4268, allocations: 0 / 0.5563 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.4268, allocations: 0 / 0.5563 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.4268, allocations: 4 kB / 0.5563 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.4268, allocations: 3.984 kB / 0.5563 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.4271, allocations: 203.2 kB / 0.5565 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.4272, allocations: 31.72 kB / 0.5565 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.4272, allocations: 0 / 0.5565 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.195e-05/0.4273, allocations: 11.98 kB / 0.5566 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.4273, allocations: 0 / 0.5566 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.4273, allocations: 4 kB / 0.5566 GB, free: 7.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007365/0.4281, allocations: 0.6394 MB / 0.5572 GB, free: 6.613 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4281, allocations: 4 kB / 0.5572 GB, free: 6.609 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.4283, allocations: 31.86 kB / 0.5572 GB, free: 6.578 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.001289/0.4296, allocations: 345.1 kB / 0.5576 GB, free: 6.367 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.4298, allocations: 39.91 kB / 0.5576 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4298, allocations: 0 / 0.5576 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.4299, allocations: 19.98 kB / 0.5576 GB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.4304, allocations: 33.34 kB / 0.5576 GB, free: 6.281 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.4316, allocations: 0.7634 MB / 0.5584 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/0.4321, allocations: 0.8258 MB / 0.5592 GB, free: 4.637 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.4322, allocations: 11.97 kB / 0.5592 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.4322, allocations: 11.44 kB / 0.5592 GB, free: 4.617 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4322, allocations: 0 / 0.5592 GB, free: 4.617 MB / 398.1 MB Notification: Performance of Templates: time 0.005507/0.4377, allocations: 1.35 MB / 0.5605 GB, free: 3.266 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.560099484398961]