Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001325/0.001325, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001426/0.001426, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.519/1.519, allocations: 230.6 MB / 257.5 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.2284/0.2284, allocations: 44.91 MB / 358.8 MB, free: 6.285 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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",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.002146/0.002146, allocations: 63.89 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3684, allocations: 65.48 MB / 0.5571 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003707/0.3721, allocations: 1.661 MB / 0.5587 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3732, allocations: 0.5699 MB / 0.5592 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.3733, allocations: 0 / 0.5592 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005987/0.3739, allocations: 463.1 kB / 0.5597 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004894/0.3744, allocations: 295.3 kB / 0.56 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.3747, allocations: 127.6 kB / 0.5601 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.3749, allocations: 171.6 kB / 0.5602 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.124e-05/0.375, allocations: 13.81 kB / 0.5603 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.3752, allocations: 115.7 kB / 0.5604 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.3755, allocations: 255.5 kB / 0.5606 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.3755, allocations: 4 kB / 0.5606 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.131e-05/0.3756, allocations: 35.98 kB / 0.5606 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.3757, allocations: 79.69 kB / 0.5607 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.3758, allocations: 111 kB / 0.5608 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.3762, allocations: 274.5 kB / 0.5611 GB, free: 3.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3762, allocations: 0 / 0.5611 GB, free: 3.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3762, allocations: 0 / 0.5611 GB, free: 3.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.3762, allocations: 0 / 0.5611 GB, free: 3.617 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.0009449/0.3772, allocations: 0.6009 MB / 0.5617 GB, free: 2.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3772, allocations: 8.031 kB / 0.5617 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.3773, allocations: 30.75 kB / 0.5617 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/0.3773, allocations: 44.66 kB / 0.5618 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.3777, allocations: 254.7 kB / 0.562 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-06/0.3777, allocations: 384 / 0.562 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.3777, allocations: 4.375 kB / 0.562 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.3779, allocations: 69.58 kB / 0.5621 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3779, allocations: 7.984 kB / 0.5621 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.3779, allocations: 0 / 0.5621 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3779, allocations: 3.938 kB / 0.5621 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.378, allocations: 31.97 kB / 0.5621 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.3785, allocations: 367.7 kB / 0.5625 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.3787, allocations: 46.56 kB / 0.5625 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.902e-05/0.3788, allocations: 20.94 kB / 0.5625 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.3788, allocations: 3.938 kB / 0.5625 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.3788, allocations: 34.56 kB / 0.5626 GB, free: 1.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3788, allocations: 0 / 0.5626 GB, free: 1.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008333/0.3796, allocations: 300.7 kB / 0.5628 GB, free: 1.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.3797, allocations: 55.41 kB / 0.5629 GB, free: 1.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009199/0.3806, allocations: 0.8736 MB / 0.5638 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3806, allocations: 29.7 kB / 0.5638 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.3808, allocations: 212.1 kB / 0.564 GB, free: 484 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.3809, allocations: 27.8 kB / 0.564 GB, free: 456 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.3809, allocations: 17.72 kB / 0.564 GB, free: 432 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.3811, allocations: 366.8 kB / 0.5644 GB, free: 56 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.3812, allocations: 31.97 kB / 0.5644 GB, free: 24 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.3813, allocations: 35.91 kB / 0.5644 GB, free: 15.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.3816, allocations: 72.81 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3816, allocations: 0 / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00031/0.3819, allocations: 149.4 kB / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3819, allocations: 4 kB / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3819, allocations: 0 / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3819, allocations: 0 / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.3821, allocations: 23.98 kB / 0.5647 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3821, allocations: 0 / 0.5647 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.919e-05/0.3822, allocations: 23.8 kB / 0.5647 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.3822, allocations: 0 / 0.5647 GB, free: 15.71 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 (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 0.0002047/0.3824, allocations: 213.8 kB / 0.5649 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.3824, allocations: 43.72 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.3828, allocations: 177.5 kB / 0.5651 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3828, allocations: 0 / 0.5651 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3828, allocations: 0 / 0.5651 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.3828, allocations: 7.938 kB / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006717/0.3835, allocations: 477.8 kB / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3835, allocations: 0 / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/0.3836, allocations: 23.98 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3836, allocations: 0 / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3836, allocations: 3.938 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3836, allocations: 80 / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.3836, allocations: 3.984 kB / 0.5656 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.384, allocations: 247.1 kB / 0.5658 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.384, allocations: 39.72 kB / 0.5659 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.384, allocations: 7.938 kB / 0.5659 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3841, allocations: 7.984 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.3842, allocations: 7.984 kB / 0.5659 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.3842, allocations: 0 / 0.5659 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006758/0.3849, allocations: 0.6628 MB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3849, allocations: 0 / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.3851, allocations: 24 kB / 0.5666 GB, free: 13.7 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 (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.002123/0.3872, allocations: 1.093 MB / 0.5676 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.3875, allocations: 75.94 kB / 0.5677 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3875, allocations: 0 / 0.5677 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.3877, allocations: 43.91 kB / 0.5678 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.3881, allocations: 26.3 kB / 0.5678 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/0.3922, allocations: 3.327 MB / 0.571 GB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.3927, allocations: 0.826 MB / 0.5718 GB, free: 8.328 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.143e-05/0.3928, allocations: 16.97 kB / 0.5719 GB, free: 8.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.3929, allocations: 103.4 kB / 0.572 GB, free: 8.211 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3929, allocations: 0 / 0.572 GB, free: 8.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.4272, allocations: 6.361 MB / 0.5782 GB, free: 1.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.1, allocations: 0 / 0.5782 GB, free: 1.926 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.18591272411868]