Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001472/0.001472, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001571/0.001571, allocations: 215.8 kB / 23.73 MB, free: 4.16 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2555/0.2555, allocations: 44.94 MB / 358.8 MB, free: 6.039 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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",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.003471/0.003471, allocations: 63.91 kB / 0.493 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3585, allocations: 65.47 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003937/0.3625, allocations: 1.98 MB / 0.5589 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.3647, allocations: 1.092 MB / 0.56 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.3648, allocations: 0 / 0.56 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005227/0.3653, allocations: 271 kB / 0.5602 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005639/0.3659, allocations: 271 kB / 0.5605 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.3673, allocations: 0.6533 MB / 0.5611 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005194/0.3678, allocations: 366.8 kB / 0.5615 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.368, allocations: 46.73 kB / 0.5615 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.3682, allocations: 151.4 kB / 0.5617 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.3685, allocations: 231.1 kB / 0.5619 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.807e-05/0.3685, allocations: 12 kB / 0.5619 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.3687, allocations: 71.97 kB / 0.562 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.3689, allocations: 107.5 kB / 0.5621 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.369, allocations: 99.16 kB / 0.5622 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004925/0.3695, allocations: 366.2 kB / 0.5625 GB, free: 1.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.3695, allocations: 4 kB / 0.5625 GB, free: 1.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3695, allocations: 0 / 0.5625 GB, free: 1.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.3695, allocations: 0 / 0.5625 GB, free: 1.828 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009519/0.3704, allocations: 0.6282 MB / 0.5631 GB, free: 1.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.3705, allocations: 12.03 kB / 0.5631 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.682e-05/0.3705, allocations: 42.73 kB / 0.5632 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.76e-05/0.3706, allocations: 48.59 kB / 0.5632 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/0.3711, allocations: 284.6 kB / 0.5635 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3711, allocations: 8.375 kB / 0.5635 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.3711, allocations: 12.38 kB / 0.5635 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.3715, allocations: 129.5 kB / 0.5636 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.3715, allocations: 3.953 kB / 0.5636 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.3715, allocations: 7.984 kB / 0.5637 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3715, allocations: 4 kB / 0.5637 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.3717, allocations: 83.94 kB / 0.5637 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008459/0.3726, allocations: 479.5 kB / 0.5642 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.3728, allocations: 106.5 kB / 0.5643 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.865e-05/0.3729, allocations: 40.83 kB / 0.5643 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.3729, allocations: 4 kB / 0.5643 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.3729, allocations: 38.48 kB / 0.5644 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.3729, allocations: 0 / 0.5644 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.00115/0.3741, allocations: 460.5 kB / 0.5648 GB, free: 15.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.3742, allocations: 55.41 kB / 0.5649 GB, free: 15.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007968/0.3749, allocations: 0.6073 MB / 0.5655 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.375, allocations: 25.7 kB / 0.5655 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.3752, allocations: 216.4 kB / 0.5657 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.413e-05/0.3753, allocations: 67.38 kB / 0.5658 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.279e-05/0.3754, allocations: 37.7 kB / 0.5658 GB, free: 14.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.3756, allocations: 354.8 kB / 0.5661 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.3757, allocations: 63.95 kB / 0.5662 GB, free: 13.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.3759, allocations: 70.3 kB / 0.5663 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.3762, allocations: 160.7 kB / 0.5664 GB, free: 13.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3762, allocations: 0 / 0.5664 GB, free: 13.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004456/0.3766, allocations: 239.7 kB / 0.5666 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3767, allocations: 4 kB / 0.5666 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3767, allocations: 0 / 0.5666 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.3767, allocations: 4 kB / 0.5667 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.3769, allocations: 31.97 kB / 0.5667 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.3769, allocations: 4 kB / 0.5667 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.589e-05/0.377, allocations: 12 kB / 0.5667 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.377, allocations: 4 kB / 0.5667 GB, free: 13.34 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 (17): * Single equations (assignments): 17 * 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.0002106/0.3772, allocations: 189.6 kB / 0.5669 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.259e-05/0.3773, allocations: 47.67 kB / 0.5669 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000583/0.3778, allocations: 277.7 kB / 0.5672 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3778, allocations: 0 / 0.5672 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3778, allocations: 0 / 0.5672 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3779, allocations: 7.984 kB / 0.5672 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.3789, allocations: 0.6479 MB / 0.5678 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3789, allocations: 0 / 0.5678 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.379, allocations: 35.92 kB / 0.5679 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.379, allocations: 0 / 0.5679 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.3791, allocations: 8 kB / 0.5679 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3791, allocations: 3.938 kB / 0.5679 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3791, allocations: 0 / 0.5679 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.3796, allocations: 335.2 kB / 0.5682 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.3797, allocations: 43.7 kB / 0.5682 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.3797, allocations: 4 kB / 0.5682 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.3798, allocations: 19.92 kB / 0.5683 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.3799, allocations: 7.984 kB / 0.5683 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.3799, allocations: 4 kB / 0.5683 GB, free: 11.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005369/0.3804, allocations: 454.8 kB / 0.5687 GB, free: 11.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3804, allocations: 0 / 0.5687 GB, free: 11.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003274/0.3808, allocations: 55.92 kB / 0.5688 GB, free: 11.15 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 (17): * Single equations (assignments): 17 * 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.003748/0.3845, allocations: 1.521 MB / 0.5702 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003904/0.3849, allocations: 163.8 kB / 0.5704 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3849, allocations: 0 / 0.5704 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.3851, allocations: 83.89 kB / 0.5705 GB, free: 9.723 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/0.3857, allocations: 94.81 kB / 0.5706 GB, free: 9.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004495/0.3902, allocations: 3.343 MB / 0.5738 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.3904, allocations: 224.8 kB / 0.5741 GB, free: 5.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001726/0.3906, allocations: 70.16 kB / 0.5741 GB, free: 5.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.3909, allocations: 139.4 kB / 0.5743 GB, free: 5.777 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3909, allocations: 0 / 0.5743 GB, free: 5.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/0.4272, allocations: 8.571 MB / 0.5826 GB, free: 13.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.04, allocations: 6.562 kB / 0.5826 GB, free: 13.22 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.25598000176251]