Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001251/0.001251, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001412/0.001412, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2273/0.2273, allocations: 44.93 MB / 359.6 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 180] 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",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.001977/0.001977, allocations: 67.89 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3538, allocations: 65.47 MB / 0.5577 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003165/0.3569, allocations: 1.641 MB / 0.5593 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.358, allocations: 0.5271 MB / 0.5599 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.358, allocations: 0 / 0.5599 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005915/0.3586, allocations: 459.1 kB / 0.5603 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000486/0.3591, allocations: 299.3 kB / 0.5606 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.3594, allocations: 131.3 kB / 0.5607 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.3596, allocations: 163.7 kB / 0.5609 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3598, allocations: 17.81 kB / 0.5609 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.3599, allocations: 115.7 kB / 0.561 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.3602, allocations: 247.5 kB / 0.5612 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.3602, allocations: 7.938 kB / 0.5612 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.358e-05/0.3603, allocations: 31.98 kB / 0.5613 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.3604, allocations: 87.69 kB / 0.5614 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.173e-05/0.3605, allocations: 75.17 kB / 0.5614 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.3608, allocations: 270.6 kB / 0.5617 GB, free: 3.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3608, allocations: 4 kB / 0.5617 GB, free: 3.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3608, allocations: 0 / 0.5617 GB, free: 3.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.3608, allocations: 0 / 0.5617 GB, free: 3.508 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.0007551/0.3616, allocations: 0.5776 MB / 0.5623 GB, free: 2.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3616, allocations: 16.02 kB / 0.5623 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.487e-05/0.3616, allocations: 192 / 0.5623 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.3617, allocations: 30.75 kB / 0.5623 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.3617, allocations: 52.61 kB / 0.5623 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.362, allocations: 246.8 kB / 0.5626 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.362, allocations: 4.375 kB / 0.5626 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.362, allocations: 12.06 kB / 0.5626 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.3622, allocations: 49.69 kB / 0.5626 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3622, allocations: 3.938 kB / 0.5626 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.3622, allocations: 0 / 0.5626 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.3622, allocations: 4 kB / 0.5627 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.526e-05/0.3623, allocations: 27.97 kB / 0.5627 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.3628, allocations: 363.7 kB / 0.563 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.363, allocations: 42.56 kB / 0.5631 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.363, allocations: 20.94 kB / 0.5631 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.3631, allocations: 0 / 0.5631 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.3631, allocations: 30.56 kB / 0.5631 GB, free: 1.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.3631, allocations: 0 / 0.5631 GB, free: 1.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000659/0.3638, allocations: 236.7 kB / 0.5633 GB, free: 1.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.3638, allocations: 63.39 kB / 0.5634 GB, free: 1.598 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009137/0.3647, allocations: 0.8698 MB / 0.5643 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.3647, allocations: 29.7 kB / 0.5643 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.3649, allocations: 220.1 kB / 0.5645 GB, free: 472 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.3649, allocations: 23.83 kB / 0.5645 GB, free: 448 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.365, allocations: 17.72 kB / 0.5645 GB, free: 424 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3652, allocations: 354.8 kB / 0.5649 GB, free: 60 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.186e-05/0.3652, allocations: 19.98 kB / 0.5649 GB, free: 40 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.129e-05/0.3653, allocations: 23.92 kB / 0.5649 GB, free: 16 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.3654, allocations: 52.98 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3654, allocations: 0 / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002137/0.3657, allocations: 117.3 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3657, allocations: 8 kB / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.3657, allocations: 0 / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3657, allocations: 3.938 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/0.3658, allocations: 8 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3658, allocations: 7.922 kB / 0.5651 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.3658, allocations: 8 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.3658, allocations: 4 kB / 0.5651 GB, free: 15.8 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 (5): * Single equations (assignments): 5 * 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.0001964/0.366, allocations: 217.7 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/0.3661, allocations: 43.72 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.3664, allocations: 129.3 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3664, allocations: 320 / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3664, allocations: 7.938 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3664, allocations: 3.938 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000623/0.367, allocations: 433.5 kB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.367, allocations: 0 / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.859e-05/0.3671, allocations: 12 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3671, allocations: 7.922 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3671, allocations: 0 / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3671, allocations: 0 / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3671, allocations: 0 / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.3674, allocations: 215.1 kB / 0.5661 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.3674, allocations: 47.7 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.3674, allocations: 3.938 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.3675, allocations: 4 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.3676, allocations: 7.984 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3676, allocations: 0 / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007282/0.3683, allocations: 0.6589 MB / 0.5668 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3683, allocations: 0 / 0.5668 GB, free: 13.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.3686, allocations: 27.94 kB / 0.5669 GB, free: 13.91 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 (5): * Single equations (assignments): 5 * 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.00216/0.3707, allocations: 1.08 MB / 0.5679 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.3709, allocations: 51.84 kB / 0.568 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3709, allocations: 4 kB / 0.568 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-05/0.371, allocations: 15.98 kB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.3714, allocations: 27.92 kB / 0.568 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/0.3755, allocations: 3.248 MB / 0.5712 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.3757, allocations: 220.1 kB / 0.5714 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.268e-05/0.3758, allocations: 8.094 kB / 0.5714 GB, free: 9.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.3759, allocations: 115.3 kB / 0.5715 GB, free: 9.207 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3759, allocations: 4 kB / 0.5715 GB, free: 9.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.4062, allocations: 6.306 MB / 0.5777 GB, free: 2.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.58, allocations: 2.406 kB / 0.5777 GB, free: 2.957 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.672435517073609]