Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001433/0.001433, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001679/0.001679, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2496/0.2496, allocations: 44.92 MB / 359.6 MB, free: 6.273 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="cs",version="2.0",platforms={"static"}) [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.003005/0.003005, allocations: 67.84 kB / 0.4939 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.396, allocations: 65.46 MB / 0.5578 GB, free: 7.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003387/0.3994, allocations: 1.678 MB / 0.5594 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.4014, allocations: 1.283 MB / 0.5607 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.4014, allocations: 0 / 0.5607 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.4016, allocations: 19.8 kB / 0.5607 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.4019, allocations: 87.61 kB / 0.5608 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.4023, allocations: 127.6 kB / 0.5609 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.4025, allocations: 79.77 kB / 0.561 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.835e-05/0.4026, allocations: 17.95 kB / 0.561 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.831e-05/0.4026, allocations: 27.84 kB / 0.561 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.4028, allocations: 31.86 kB / 0.5611 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.4028, allocations: 8 kB / 0.5611 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.403, allocations: 103.9 kB / 0.5612 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.596e-05/0.403, allocations: 23.91 kB / 0.5612 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.4031, allocations: 27.81 kB / 0.5612 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.4034, allocations: 159.4 kB / 0.5614 GB, free: 3.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4034, allocations: 0 / 0.5614 GB, free: 3.965 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4034, allocations: 0 / 0.5614 GB, free: 3.965 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.4034, allocations: 4 kB / 0.5614 GB, free: 3.961 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005503/0.4039, allocations: 341.6 kB / 0.5617 GB, free: 3.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.404, allocations: 12.03 kB / 0.5617 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.665e-05/0.404, allocations: 192 / 0.5617 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.404, allocations: 34.75 kB / 0.5618 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.4041, allocations: 8.891 kB / 0.5618 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.4043, allocations: 138.3 kB / 0.5619 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.4043, allocations: 4.375 kB / 0.5619 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.4043, allocations: 20.06 kB / 0.5619 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.4045, allocations: 67.39 kB / 0.562 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.4045, allocations: 4 kB / 0.562 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.4045, allocations: 0 / 0.562 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4045, allocations: 0 / 0.562 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.4046, allocations: 31.97 kB / 0.562 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.405, allocations: 275.8 kB / 0.5623 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.4052, allocations: 42.56 kB / 0.5623 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.202e-05/0.4052, allocations: 20.94 kB / 0.5623 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.4052, allocations: 3.938 kB / 0.5623 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.4053, allocations: 38.56 kB / 0.5624 GB, free: 2.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.4053, allocations: 3.938 kB / 0.5624 GB, free: 2.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000784/0.4061, allocations: 213.2 kB / 0.5626 GB, free: 2.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.4061, allocations: 77.11 kB / 0.5627 GB, free: 2.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.4063, allocations: 158.1 kB / 0.5628 GB, free: 2.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.4063, allocations: 25.7 kB / 0.5628 GB, free: 2.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.4064, allocations: 96.12 kB / 0.5629 GB, free: 2.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.4064, allocations: 39.8 kB / 0.563 GB, free: 2.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.4065, allocations: 17.72 kB / 0.563 GB, free: 2.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4066, allocations: 322.8 kB / 0.5633 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.4067, allocations: 31.91 kB / 0.5633 GB, free: 1.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.4069, allocations: 53.69 kB / 0.5634 GB, free: 1.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.4071, allocations: 73.05 kB / 0.5634 GB, free: 1.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4071, allocations: 0 / 0.5634 GB, free: 1.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002917/0.4074, allocations: 113.6 kB / 0.5636 GB, free: 1.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.4074, allocations: 4 kB / 0.5636 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.4074, allocations: 0 / 0.5636 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.4074, allocations: 4 kB / 0.5636 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.4075, allocations: 23.91 kB / 0.5636 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.4075, allocations: 7.938 kB / 0.5636 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.093e-05/0.4076, allocations: 4 kB / 0.5636 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.4076, allocations: 11.98 kB / 0.5636 GB, free: 1.469 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 (7): * Single equations (assignments): 7 * 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 9.653e-05/0.4077, allocations: 117.8 kB / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.4078, allocations: 7.953 kB / 0.5637 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.4081, allocations: 122.6 kB / 0.5638 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.4081, allocations: 4 kB / 0.5638 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/0.4081, allocations: 7.922 kB / 0.5639 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.4081, allocations: 3.938 kB / 0.5639 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005551/0.4087, allocations: 361.6 kB / 0.5642 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4087, allocations: 4 kB / 0.5642 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.81e-05/0.4088, allocations: 15.98 kB / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.4088, allocations: 7.938 kB / 0.5642 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.4088, allocations: 8 kB / 0.5642 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4088, allocations: 3.938 kB / 0.5642 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4088, allocations: 0 / 0.5642 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.4091, allocations: 219.4 kB / 0.5644 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.4091, allocations: 3.953 kB / 0.5645 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.4092, allocations: 11.94 kB / 0.5645 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.4093, allocations: 7.984 kB / 0.5645 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.4093, allocations: 11.98 kB / 0.5645 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.4093, allocations: 0 / 0.5645 GB, free: 492 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.4094, allocations: 125.3 kB / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4094, allocations: 0 / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.4097, allocations: 47.8 kB / 0.5646 GB, free: 320 kB / 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 (7): * Single equations (assignments): 7 * 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.002336/0.4121, allocations: 1.137 MB / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003018/0.4124, allocations: 71.94 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4124, allocations: 0 / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.4125, allocations: 43.91 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.4129, allocations: 19.98 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.415, allocations: 1.593 MB / 0.5674 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.4153, allocations: 0.6964 MB / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.572e-05/0.4154, allocations: 24.89 kB / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.4155, allocations: 31.42 kB / 0.5682 GB, free: 12.76 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4155, allocations: 0 / 0.5682 GB, free: 12.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.4503, allocations: 3.717 MB / 0.5718 GB, free: 9.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.81, allocations: 8 kB / 0.5718 GB, free: 9.078 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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: 15.040335936006159]