Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 210.7 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2899/0.2899, allocations: 46.93 MB / 360.8 MB, free: 4.285 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002518/0.002518, allocations: 71.88 kB / 0.4967 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4149, allocations: 66.04 MB / 0.5612 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.004058/0.419, allocations: 1.688 MB / 0.5628 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.4205, allocations: 0.6088 MB / 0.5634 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.4205, allocations: 4 kB / 0.5634 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007166/0.4213, allocations: 459.1 kB / 0.5638 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005366/0.4218, allocations: 291.3 kB / 0.5641 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.4223, allocations: 175.4 kB / 0.5643 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.4226, allocations: 191.6 kB / 0.5645 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.4227, allocations: 12.22 kB / 0.5645 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.4228, allocations: 123.7 kB / 0.5646 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.4232, allocations: 251.5 kB / 0.5648 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.4232, allocations: 4 kB / 0.5648 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.4233, allocations: 55.91 kB / 0.5649 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.4235, allocations: 87.62 kB / 0.565 GB, free: 492 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.4236, allocations: 115 kB / 0.5651 GB, free: 376 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004447/0.424, allocations: 281 kB / 0.5654 GB, free: 100 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.424, allocations: 0 / 0.5654 GB, free: 100 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.424, allocations: 0 / 0.5654 GB, free: 100 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.424, allocations: 0 / 0.5654 GB, free: 100 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009704/0.425, allocations: 0.5972 MB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.425, allocations: 8.031 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/0.4251, allocations: 48.66 kB / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.4255, allocations: 254.6 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4255, allocations: 12.38 kB / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.4255, allocations: 384 / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.4257, allocations: 65.8 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.4257, allocations: 0 / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.4258, allocations: 7.984 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.4258, allocations: 0 / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.4259, allocations: 43.91 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006441/0.4266, allocations: 395.7 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.4268, allocations: 58.58 kB / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.192e-05/0.4269, allocations: 28.97 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.427, allocations: 3.984 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.427, allocations: 34.56 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.427, allocations: 0 / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001626/0.4286, allocations: 0.4886 MB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.4287, allocations: 59.34 kB / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009113/0.4296, allocations: 0.8614 MB / 0.5682 GB, free: 12.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.4296, allocations: 33.7 kB / 0.5683 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.4298, allocations: 216.1 kB / 0.5685 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.4298, allocations: 39.69 kB / 0.5685 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.4299, allocations: 21.72 kB / 0.5685 GB, free: 12.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.4301, allocations: 366.7 kB / 0.5689 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.4302, allocations: 51.91 kB / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.4304, allocations: 59.95 kB / 0.569 GB, free: 12.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.4307, allocations: 125 kB / 0.5691 GB, free: 12.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4307, allocations: 4 kB / 0.5691 GB, free: 12.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003919/0.4311, allocations: 205.7 kB / 0.5693 GB, free: 11.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4311, allocations: 8 kB / 0.5693 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4311, allocations: 0 / 0.5693 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.4311, allocations: 0 / 0.5693 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.4312, allocations: 39.84 kB / 0.5694 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4312, allocations: 0 / 0.5694 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.766e-05/0.4313, allocations: 12 kB / 0.5694 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.4313, allocations: 4 kB / 0.5694 GB, free: 11.79 MB / 414.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 (11): * Single equations (assignments): 11 * 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.0002242/0.4315, allocations: 217.8 kB / 0.5696 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.4316, allocations: 43.72 kB / 0.5696 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005275/0.4321, allocations: 237.3 kB / 0.5698 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4321, allocations: 3.938 kB / 0.5699 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4321, allocations: 0 / 0.5699 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4321, allocations: 0 / 0.5699 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009295/0.4331, allocations: 0.577 MB / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4331, allocations: 7.938 kB / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.4332, allocations: 23.98 kB / 0.5704 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.4332, allocations: 3.984 kB / 0.5704 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.4332, allocations: 4 kB / 0.5705 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4332, allocations: 0 / 0.5705 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4332, allocations: 0 / 0.5705 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004776/0.4337, allocations: 312.8 kB / 0.5708 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.4337, allocations: 35.7 kB / 0.5708 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.4338, allocations: 8 kB / 0.5708 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.4339, allocations: 11.98 kB / 0.5708 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.4339, allocations: 7.984 kB / 0.5708 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.434, allocations: 8 kB / 0.5708 GB, free: 10.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007124/0.4347, allocations: 0.6472 MB / 0.5715 GB, free: 9.562 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4347, allocations: 4 kB / 0.5715 GB, free: 9.559 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.435, allocations: 31.98 kB / 0.5715 GB, free: 9.527 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001826/0.4368, allocations: 470.6 kB / 0.5719 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003867/0.4372, allocations: 115.9 kB / 0.572 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4372, allocations: 8 kB / 0.5721 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.4373, allocations: 63.89 kB / 0.5721 GB, free: 9.062 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.4378, allocations: 38.11 kB / 0.5722 GB, free: 9.027 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.4392, allocations: 0.8864 MB / 0.573 GB, free: 8.109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005713/0.4397, allocations: 0.8377 MB / 0.5738 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.254e-05/0.4398, allocations: 32.45 kB / 0.5739 GB, free: 7.215 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.4399, allocations: 27.36 kB / 0.5739 GB, free: 7.191 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4399, allocations: 0 / 0.5739 GB, free: 7.191 MB / 414.1 MB Notification: Performance of Templates: time 0.006299/0.4462, allocations: 2.004 MB / 0.5758 GB, free: 5.199 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.639824263053015]