Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001741/0.001741, 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.00208/0.00208, allocations: 185.2 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.504/1.504, 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.2443/0.2443, 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 67.88 kB / 497.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4328, allocations: 64.3 MB / 0.5488 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003619/0.4364, allocations: 1.665 MB / 0.5505 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.4374, allocations: 471.8 kB / 0.5509 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.225e-05/0.4375, allocations: 4 kB / 0.5509 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007351/0.4382, allocations: 445.3 kB / 0.5513 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004526/0.4387, allocations: 254.2 kB / 0.5516 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.4392, allocations: 177.3 kB / 0.5518 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.4395, allocations: 168.2 kB / 0.5519 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.4397, allocations: 17.67 kB / 0.5519 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.4398, allocations: 119.5 kB / 0.552 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.4402, allocations: 246.9 kB / 0.5523 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.4402, allocations: 2.781 kB / 0.5523 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.4404, allocations: 55.27 kB / 0.5523 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.4405, allocations: 79.42 kB / 0.5524 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.4406, allocations: 111.5 kB / 0.5525 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.441, allocations: 264.5 kB / 0.5528 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4411, allocations: 0 / 0.5528 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4411, allocations: 0 / 0.5528 GB, free: 10.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.4411, allocations: 0 / 0.5528 GB, free: 10.49 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009308/0.442, allocations: 0.5793 MB / 0.5533 GB, free: 9.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.4421, allocations: 10.02 kB / 0.5533 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.152e-05/0.4421, allocations: 51.94 kB / 0.5534 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.4425, allocations: 240.7 kB / 0.5536 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.4425, allocations: 6.625 kB / 0.5536 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.4426, allocations: 7.609 kB / 0.5536 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.4427, allocations: 65.86 kB / 0.5537 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.4428, allocations: 0 / 0.5537 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.4428, allocations: 5.031 kB / 0.5537 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4428, allocations: 1.344 kB / 0.5537 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.4429, allocations: 38.78 kB / 0.5537 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006232/0.4435, allocations: 374.1 kB / 0.5541 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.4436, allocations: 47.44 kB / 0.5542 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/0.4437, allocations: 20.16 kB / 0.5542 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.4437, allocations: 5.188 kB / 0.5542 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.4438, allocations: 31.78 kB / 0.5542 GB, free: 9.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.4438, allocations: 0 / 0.5542 GB, free: 9.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001073/0.4448, allocations: 322.1 kB / 0.5545 GB, free: 9.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.4449, allocations: 60.81 kB / 0.5546 GB, free: 8.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.4459, allocations: 0.8605 MB / 0.5554 GB, free: 8.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.446, allocations: 26.8 kB / 0.5554 GB, free: 8.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.4462, allocations: 227.5 kB / 0.5557 GB, free: 8.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.4462, allocations: 31.73 kB / 0.5557 GB, free: 8.238 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.4463, allocations: 17.72 kB / 0.5557 GB, free: 8.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002735/0.4465, allocations: 362.8 kB / 0.556 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.404e-05/0.4466, allocations: 31.98 kB / 0.5561 GB, free: 7.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.014e-05/0.4467, allocations: 31.97 kB / 0.5561 GB, free: 7.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.4469, allocations: 80.98 kB / 0.5562 GB, free: 7.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4469, allocations: 0 / 0.5562 GB, free: 7.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003627/0.4473, allocations: 145.4 kB / 0.5563 GB, free: 7.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4473, allocations: 4 kB / 0.5563 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4473, allocations: 0 / 0.5563 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.4473, allocations: 15.92 kB / 0.5563 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.4474, allocations: 12 kB / 0.5564 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4474, allocations: 3.938 kB / 0.5564 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.066e-05/0.4475, allocations: 7.984 kB / 0.5564 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.4475, allocations: 8 kB / 0.5564 GB, free: 7.508 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.0002347/0.4477, allocations: 221.6 kB / 0.5566 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.4478, allocations: 43.72 kB / 0.5566 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004192/0.4482, allocations: 169.5 kB / 0.5568 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4482, allocations: 0 / 0.5568 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4482, allocations: 7.922 kB / 0.5568 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4482, allocations: 0 / 0.5568 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007448/0.449, allocations: 494.2 kB / 0.5573 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.449, allocations: 7.969 kB / 0.5573 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.449, allocations: 23.92 kB / 0.5573 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.449, allocations: 432 / 0.5573 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.4491, allocations: 0 / 0.5573 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.4491, allocations: 4 kB / 0.5573 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4491, allocations: 3.984 kB / 0.5573 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.4494, allocations: 244.1 kB / 0.5575 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.4495, allocations: 39.66 kB / 0.5576 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.4495, allocations: 3.984 kB / 0.5576 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.4496, allocations: 7.984 kB / 0.5576 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.4496, allocations: 11.94 kB / 0.5576 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.4496, allocations: 7.984 kB / 0.5576 GB, free: 6.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007062/0.4503, allocations: 0.6472 MB / 0.5582 GB, free: 5.508 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4503, allocations: 0 / 0.5582 GB, free: 5.508 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003995/0.4507, allocations: 27.94 kB / 0.5583 GB, free: 5.48 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.001931/0.4527, allocations: 463.6 kB / 0.5587 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.453, allocations: 79.89 kB / 0.5588 GB, free: 5.129 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.453, allocations: 4 kB / 0.5588 GB, free: 5.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.4531, allocations: 35.97 kB / 0.5588 GB, free: 5.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.4536, allocations: 33.34 kB / 0.5589 GB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.4551, allocations: 0.8308 MB / 0.5597 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005953/0.4557, allocations: 0.8297 MB / 0.5605 GB, free: 3.344 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.283e-05/0.4558, allocations: 20.42 kB / 0.5605 GB, free: 3.324 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.4559, allocations: 15.44 kB / 0.5605 GB, free: 3.309 MB / 398.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4559, allocations: 0 / 0.5605 GB, free: 3.309 MB / 398.1 MB Notification: Performance of Templates: time 0.006539/0.4624, allocations: 1.794 MB / 0.5623 GB, free: 1.52 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.457855235785246]