Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001386/0.001386, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001542/0.001542, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.553/1.553, 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.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.237/0.237, allocations: 44.93 MB / 358.8 MB, free: 6.062 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.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.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003008/0.003008, allocations: 71.89 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3957, allocations: 65.47 MB / 0.5575 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003547/0.3992, allocations: 1.64 MB / 0.5591 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.4003, allocations: 0.7556 MB / 0.5598 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.315e-05/0.4004, allocations: 4 kB / 0.5598 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.4007, allocations: 31.84 kB / 0.5598 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.4009, allocations: 51.7 kB / 0.5599 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.809e-06/0.4009, allocations: 0 / 0.5599 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.4011, allocations: 31.91 kB / 0.5599 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.4011, allocations: 3.938 kB / 0.5599 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.746e-05/0.4011, allocations: 15.92 kB / 0.5599 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.044e-05/0.4012, allocations: 15.86 kB / 0.56 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.4012, allocations: 0 / 0.56 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.796e-05/0.4013, allocations: 8 kB / 0.56 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.4013, allocations: 24.88 kB / 0.56 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.4014, allocations: 15.88 kB / 0.56 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.4015, allocations: 74.06 kB / 0.5601 GB, free: 4.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4015, allocations: 0 / 0.5601 GB, free: 4.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4015, allocations: 0 / 0.5601 GB, free: 4.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.4015, allocations: 0 / 0.5601 GB, free: 4.801 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000408/0.4019, allocations: 295.7 kB / 0.5604 GB, free: 4.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.402, allocations: 8.031 kB / 0.5604 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.402, allocations: 8.891 kB / 0.5604 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.4021, allocations: 118.4 kB / 0.5605 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.4022, allocations: 4.375 kB / 0.5605 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.4022, allocations: 384 / 0.5605 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.4024, allocations: 131.3 kB / 0.5606 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4024, allocations: 192 / 0.5606 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.4024, allocations: 3.938 kB / 0.5606 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.4024, allocations: 23.98 kB / 0.5606 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.597e-05/0.4025, allocations: 47.84 kB / 0.5607 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007147/0.4033, allocations: 0.8357 MB / 0.5615 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.4034, allocations: 169.2 kB / 0.5617 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.177e-05/0.4034, allocations: 80.14 kB / 0.5617 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.4034, allocations: 75.28 kB / 0.5618 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/0.4035, allocations: 117.8 kB / 0.5619 GB, free: 2.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.4035, allocations: 4 kB / 0.5619 GB, free: 2.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.822e-05/0.4036, allocations: 41.55 kB / 0.562 GB, free: 2.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/0.4037, allocations: 130.7 kB / 0.5621 GB, free: 2.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.4039, allocations: 186.1 kB / 0.5623 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.4039, allocations: 25.7 kB / 0.5623 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.404, allocations: 151.5 kB / 0.5624 GB, free: 2.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.34e-05/0.404, allocations: 4 kB / 0.5624 GB, free: 2.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.4041, allocations: 45.66 kB / 0.5625 GB, free: 2.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.4043, allocations: 318.8 kB / 0.5628 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.117e-05/0.4044, allocations: 35.92 kB / 0.5628 GB, free: 1.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.4045, allocations: 156.1 kB / 0.563 GB, free: 1.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.4047, allocations: 208.8 kB / 0.5632 GB, free: 1.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4047, allocations: 0 / 0.5632 GB, free: 1.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003249/0.4051, allocations: 197.2 kB / 0.5634 GB, free: 1.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.4051, allocations: 18.69 kB / 0.5634 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4051, allocations: 7.938 kB / 0.5634 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4051, allocations: 4.625 kB / 0.5634 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.4053, allocations: 39.92 kB / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.4053, allocations: 8 kB / 0.5634 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.956e-05/0.4054, allocations: 19.84 kB / 0.5635 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.4054, allocations: 16 kB / 0.5635 GB, free: 0.9883 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001519/0.4055, allocations: 213 kB / 0.5637 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-05/0.4056, allocations: 112.9 kB / 0.5638 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.076e-05/0.4057, allocations: 124.5 kB / 0.5639 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.2e-05/0.4057, allocations: 180.3 kB / 0.5641 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.2e-05/0.4058, allocations: 180.3 kB / 0.5642 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.756e-05/0.4059, allocations: 188.3 kB / 0.5644 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.4062, allocations: 368.8 kB / 0.5648 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.714e-05/0.4062, allocations: 108.9 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.4063, allocations: 105 kB / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.553e-05/0.4064, allocations: 192.2 kB / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-05/0.4064, allocations: 180.2 kB / 0.5653 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-05/0.4065, allocations: 176.3 kB / 0.5655 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.613e-05/0.4066, allocations: 184.2 kB / 0.5657 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.4068, allocations: 323.7 kB / 0.566 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.4069, allocations: 104.9 kB / 0.5661 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.407, allocations: 188.1 kB / 0.5663 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.25e-05/0.407, allocations: 101 kB / 0.5664 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/0.4071, allocations: 192.2 kB / 0.5665 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/0.4072, allocations: 104.9 kB / 0.5666 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.4073, allocations: 132.1 kB / 0.5668 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4073, allocations: 0 / 0.5668 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004203/0.4077, allocations: 16 kB / 0.5668 GB, free: 13.4 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 (0): * Single equations (assignments): 0 * 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.0007598/0.4085, allocations: 292 kB / 0.5671 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.4087, allocations: 76.78 kB / 0.5671 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4087, allocations: 0 / 0.5671 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.4087, allocations: 3.938 kB / 0.5671 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.4091, allocations: 459.7 kB / 0.5676 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.4095, allocations: 245.1 kB / 0.5678 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.4096, allocations: 87.52 kB / 0.5679 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002113/0.4098, allocations: 53.2 kB / 0.5679 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.4099, allocations: 15.44 kB / 0.568 GB, free: 12.19 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4099, allocations: 0 / 0.568 GB, free: 12.19 MB / 414.1 MB Notification: Performance of Templates: time 0.003563/0.4134, allocations: 0.7438 MB / 0.5687 GB, free: 11.46 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.281610241159797]