Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001847/0.001847, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002155/0.002155, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.501/1.501, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2342/0.2342, allocations: 44.9 MB / 359.6 MB, free: 6.301 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.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",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.00312/0.00312, allocations: 67.89 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3598, allocations: 65.47 MB / 0.5578 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003063/0.3629, allocations: 1.671 MB / 0.5594 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.364, allocations: 0.5621 MB / 0.56 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.322e-05/0.3641, allocations: 7.938 kB / 0.56 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.3643, allocations: 87.73 kB / 0.5601 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.3646, allocations: 115.6 kB / 0.5602 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.3649, allocations: 95.69 kB / 0.5603 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.3651, allocations: 103.7 kB / 0.5604 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3652, allocations: 21.81 kB / 0.5604 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.3653, allocations: 43.83 kB / 0.5605 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.3654, allocations: 59.81 kB / 0.5605 GB, free: 5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.3654, allocations: 8 kB / 0.5605 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.737e-05/0.3655, allocations: 51.97 kB / 0.5606 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.3656, allocations: 31.86 kB / 0.5606 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.698e-05/0.3656, allocations: 39.62 kB / 0.5606 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.3659, allocations: 131.3 kB / 0.5608 GB, free: 4.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3659, allocations: 0 / 0.5608 GB, free: 4.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3659, allocations: 4 kB / 0.5608 GB, free: 4.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.3659, allocations: 0 / 0.5608 GB, free: 4.738 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005154/0.3664, allocations: 353.5 kB / 0.5611 GB, free: 4.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3664, allocations: 15.97 kB / 0.5611 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.593e-05/0.3664, allocations: 4.188 kB / 0.5611 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.3665, allocations: 42.73 kB / 0.5612 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.3665, allocations: 12.84 kB / 0.5612 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.3667, allocations: 150.7 kB / 0.5613 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.3667, allocations: 8.359 kB / 0.5613 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.3668, allocations: 8.125 kB / 0.5613 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.367, allocations: 65.67 kB / 0.5614 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.367, allocations: 11.94 kB / 0.5614 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.367, allocations: 0 / 0.5614 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.367, allocations: 0 / 0.5614 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.3671, allocations: 47.91 kB / 0.5615 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.3675, allocations: 299.8 kB / 0.5617 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.3677, allocations: 62.55 kB / 0.5618 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.901e-05/0.3677, allocations: 24.78 kB / 0.5618 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.3678, allocations: 4 kB / 0.5618 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.3678, allocations: 34.56 kB / 0.5619 GB, free: 3.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3678, allocations: 112 / 0.5619 GB, free: 3.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001076/0.3689, allocations: 321.6 kB / 0.5622 GB, free: 3.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.3689, allocations: 51.41 kB / 0.5622 GB, free: 3.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.3692, allocations: 239.5 kB / 0.5624 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3692, allocations: 25.7 kB / 0.5625 GB, free: 2.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/0.3693, allocations: 116 kB / 0.5626 GB, free: 2.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.3693, allocations: 43.64 kB / 0.5626 GB, free: 2.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.3694, allocations: 25.7 kB / 0.5626 GB, free: 2.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3695, allocations: 330.8 kB / 0.563 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.3697, allocations: 31.98 kB / 0.563 GB, free: 2.262 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3698, allocations: 47.91 kB / 0.563 GB, free: 2.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.37, allocations: 88.2 kB / 0.5631 GB, free: 2.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.37, allocations: 0 / 0.5631 GB, free: 2.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002866/0.3703, allocations: 133.6 kB / 0.5632 GB, free: 1.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3703, allocations: 8 kB / 0.5633 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3703, allocations: 7.938 kB / 0.5633 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3703, allocations: 0 / 0.5633 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.3704, allocations: 27.92 kB / 0.5633 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3704, allocations: 4.234 kB / 0.5633 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.032e-05/0.3705, allocations: 7.984 kB / 0.5633 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.3705, allocations: 11.92 kB / 0.5633 GB, free: 1.926 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 (13): * Single equations (assignments): 13 * 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.000124/0.3706, allocations: 137.8 kB / 0.5634 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.3707, allocations: 11.91 kB / 0.5635 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.371, allocations: 167 kB / 0.5636 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.371, allocations: 4 kB / 0.5636 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.371, allocations: 0 / 0.5636 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.371, allocations: 0 / 0.5636 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006498/0.3717, allocations: 458.1 kB / 0.5641 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3717, allocations: 0 / 0.5641 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.457e-05/0.3718, allocations: 32 kB / 0.5641 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3718, allocations: 0 / 0.5641 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.3718, allocations: 8 kB / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3718, allocations: 0 / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3718, allocations: 3.938 kB / 0.5641 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.3721, allocations: 248.3 kB / 0.5643 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.3722, allocations: 15.89 kB / 0.5643 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.3722, allocations: 4 kB / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.3723, allocations: 4 kB / 0.5644 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.3723, allocations: 7.984 kB / 0.5644 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.3723, allocations: 8 kB / 0.5644 GB, free: 0.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.3725, allocations: 185.1 kB / 0.5645 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3725, allocations: 0 / 0.5645 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.3727, allocations: 20 kB / 0.5646 GB, free: 0.5508 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.002272/0.375, allocations: 1.131 MB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.3753, allocations: 95.89 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3753, allocations: 0 / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3754, allocations: 51.84 kB / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.3758, allocations: 39.64 kB / 0.5658 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.3783, allocations: 1.845 MB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.3786, allocations: 0.7197 MB / 0.5684 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.253e-05/0.3787, allocations: 16.47 kB / 0.5684 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.973e-05/0.3788, allocations: 47.42 kB / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3788, allocations: 0 / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.4021, allocations: 3.747 MB / 0.5721 GB, free: 8.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.83, allocations: 9.266 kB / 0.5721 GB, free: 8.977 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.13007369497791]