Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001391/0.001391, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001531/0.001531, allocations: 205.3 kB / 23.73 MB, free: 4.379 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.591/1.591, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2505/0.2505, allocations: 46.95 MB / 360.9 MB, free: 4.039 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 75.89 kB / 0.4966 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3952, allocations: 66.03 MB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003417/0.3987, allocations: 1.614 MB / 0.5627 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.3998, allocations: 0.5378 MB / 0.5632 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.3999, allocations: 0 / 0.5632 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.4005, allocations: 451.1 kB / 0.5636 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005488/0.4011, allocations: 295.3 kB / 0.5639 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.4015, allocations: 175.1 kB / 0.5641 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.4018, allocations: 171.6 kB / 0.5642 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.4019, allocations: 12 kB / 0.5642 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.4021, allocations: 111.8 kB / 0.5643 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.4023, allocations: 247.5 kB / 0.5646 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.4024, allocations: 0 / 0.5646 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.553e-05/0.4024, allocations: 31.98 kB / 0.5646 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.4026, allocations: 83.69 kB / 0.5647 GB, free: 488 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.658e-05/0.4026, allocations: 63.25 kB / 0.5648 GB, free: 424 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.403, allocations: 261 kB / 0.565 GB, free: 168 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.403, allocations: 0 / 0.565 GB, free: 168 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.403, allocations: 0 / 0.565 GB, free: 168 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.403, allocations: 3.984 kB / 0.565 GB, free: 164 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008135/0.4038, allocations: 0.5737 MB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4039, allocations: 12.03 kB / 0.5656 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.163e-05/0.4039, allocations: 40.66 kB / 0.5656 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.4043, allocations: 250.8 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.4043, allocations: 384 / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.4043, allocations: 4.375 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.4044, allocations: 54.8 kB / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4045, allocations: 0 / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.4045, allocations: 4 kB / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4045, allocations: 0 / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.568e-05/0.4046, allocations: 31.89 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.4051, allocations: 328.4 kB / 0.5663 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.648e-05/0.4052, allocations: 34.58 kB / 0.5663 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.4053, allocations: 12.91 kB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.4053, allocations: 4 kB / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.4053, allocations: 34.56 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4053, allocations: 3.938 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002967/0.4056, allocations: 101.4 kB / 0.5664 GB, free: 14.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.4057, allocations: 51.41 kB / 0.5665 GB, free: 14.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009201/0.4066, allocations: 0.8613 MB / 0.5673 GB, free: 13.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.4066, allocations: 29.83 kB / 0.5674 GB, free: 13.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.4068, allocations: 216 kB / 0.5676 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.4068, allocations: 11.94 kB / 0.5676 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.4068, allocations: 13.72 kB / 0.5676 GB, free: 13.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.407, allocations: 362.7 kB / 0.5679 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.677e-05/0.4071, allocations: 11.98 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.453e-05/0.4071, allocations: 8 kB / 0.568 GB, free: 12.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.353e-05/0.4072, allocations: 32.77 kB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4072, allocations: 0 / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001621/0.4074, allocations: 101.5 kB / 0.5681 GB, free: 12.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4074, allocations: 7.938 kB / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4074, allocations: 0 / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4074, allocations: 0 / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.064e-05/0.4075, allocations: 7.984 kB / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.4075, allocations: 0 / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.4076, allocations: 4 kB / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.4076, allocations: 0 / 0.5681 GB, free: 12.81 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 (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.0002307/0.4078, allocations: 213.7 kB / 0.5683 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.826e-05/0.4079, allocations: 47.72 kB / 0.5684 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.4081, allocations: 108.7 kB / 0.5685 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.4082, allocations: 0 / 0.5685 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4082, allocations: 0 / 0.5685 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.4082, allocations: 0 / 0.5685 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.4085, allocations: 241.1 kB / 0.5687 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4085, allocations: 0 / 0.5687 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.4085, allocations: 4 kB / 0.5687 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4085, allocations: 0 / 0.5687 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.4085, allocations: 4.031 kB / 0.5687 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4085, allocations: 0 / 0.5687 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/0.4085, allocations: 4 kB / 0.5687 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.4088, allocations: 199.1 kB / 0.5689 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.4088, allocations: 35.72 kB / 0.5689 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.4088, allocations: 0 / 0.5689 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.4089, allocations: 0 / 0.5689 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.4089, allocations: 7.984 kB / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.4089, allocations: 0 / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007103/0.4096, allocations: 0.6511 MB / 0.5696 GB, free: 11.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4096, allocations: 4.031 kB / 0.5696 GB, free: 11.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.4099, allocations: 19.94 kB / 0.5696 GB, free: 11.22 MB / 414.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.001417/0.4113, allocations: 375.3 kB / 0.5699 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.4115, allocations: 23.98 kB / 0.57 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4115, allocations: 0 / 0.57 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.644e-05/0.4115, allocations: 19.92 kB / 0.57 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.412, allocations: 29.83 kB / 0.57 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.4132, allocations: 0.7869 MB / 0.5708 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.4135, allocations: 220.1 kB / 0.571 GB, free: 9.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.281e-05/0.4135, allocations: 19.97 kB / 0.571 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.4136, allocations: 7.438 kB / 0.571 GB, free: 9.855 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4136, allocations: 4 kB / 0.571 GB, free: 9.852 MB / 414.1 MB Notification: Performance of Templates: time 0.00555/0.4191, allocations: 1.456 MB / 0.5724 GB, free: 8.406 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.329357221256942]