Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001665/0.001665, 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.001518/0.001518, allocations: 212.4 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.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2366/0.2366, allocations: 44.93 MB / 358.8 MB, free: 6.051 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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",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.002116/0.002116, allocations: 71.91 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3875, allocations: 65.47 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003231/0.3908, allocations: 1.666 MB / 0.5586 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.392, allocations: 0.5622 MB / 0.5592 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.035e-05/0.3921, allocations: 0 / 0.5592 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007003/0.3928, allocations: 459.1 kB / 0.5596 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005092/0.3933, allocations: 295.3 kB / 0.5599 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.3937, allocations: 179.2 kB / 0.5601 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000262/0.394, allocations: 175.6 kB / 0.5602 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3941, allocations: 18.05 kB / 0.5602 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.3943, allocations: 119.7 kB / 0.5604 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.3946, allocations: 251.5 kB / 0.5606 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.3946, allocations: 4 kB / 0.5606 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.3947, allocations: 51.97 kB / 0.5606 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.3948, allocations: 87.62 kB / 0.5607 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.6e-05/0.3949, allocations: 67.25 kB / 0.5608 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.3953, allocations: 298.5 kB / 0.5611 GB, free: 3.324 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3953, allocations: 0 / 0.5611 GB, free: 3.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3953, allocations: 4 kB / 0.5611 GB, free: 3.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3953, allocations: 0 / 0.5611 GB, free: 3.32 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008217/0.3961, allocations: 0.597 MB / 0.5617 GB, free: 2.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3962, allocations: 8.031 kB / 0.5617 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.43e-05/0.3962, allocations: 46.72 kB / 0.5617 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.204e-05/0.3963, allocations: 40.66 kB / 0.5618 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.3966, allocations: 254.7 kB / 0.562 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3967, allocations: 4.375 kB / 0.562 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.3967, allocations: 4.375 kB / 0.562 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.3969, allocations: 61.61 kB / 0.5621 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3969, allocations: 7.938 kB / 0.5621 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3969, allocations: 4 kB / 0.5621 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3969, allocations: 0 / 0.5621 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.397, allocations: 35.91 kB / 0.5621 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000642/0.3976, allocations: 367.8 kB / 0.5625 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.3978, allocations: 54.58 kB / 0.5625 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.893e-05/0.3978, allocations: 16.86 kB / 0.5625 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.3979, allocations: 96 / 0.5625 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.3979, allocations: 34.55 kB / 0.5626 GB, free: 1.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3979, allocations: 4 kB / 0.5626 GB, free: 1.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001122/0.399, allocations: 324.5 kB / 0.5629 GB, free: 1.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.3991, allocations: 59.34 kB / 0.5629 GB, free: 1.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.4001, allocations: 0.8738 MB / 0.5638 GB, free: 392 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.4001, allocations: 29.7 kB / 0.5638 GB, free: 356 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.4004, allocations: 228.1 kB / 0.564 GB, free: 124 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.4004, allocations: 31.73 kB / 0.5641 GB, free: 92 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.4005, allocations: 21.7 kB / 0.5641 GB, free: 64 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.4007, allocations: 362.8 kB / 0.5644 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.883e-05/0.4008, allocations: 35.86 kB / 0.5645 GB, free: 15.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/0.4009, allocations: 27.98 kB / 0.5645 GB, free: 15.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.4011, allocations: 76.81 kB / 0.5646 GB, free: 15.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4011, allocations: 4 kB / 0.5646 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003065/0.4014, allocations: 145.3 kB / 0.5647 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4014, allocations: 6.188 kB / 0.5647 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4014, allocations: 0 / 0.5647 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4014, allocations: 0 / 0.5647 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.4015, allocations: 31.86 kB / 0.5647 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4015, allocations: 3.938 kB / 0.5647 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.4016, allocations: 11.98 kB / 0.5648 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.4016, allocations: 320 / 0.5648 GB, free: 15.36 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 (8): * Single equations (assignments): 8 * 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.0002367/0.4018, allocations: 217.8 kB / 0.565 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.4019, allocations: 47.7 kB / 0.565 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004016/0.4023, allocations: 181.5 kB / 0.5652 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.4023, allocations: 3.938 kB / 0.5652 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4023, allocations: 432 / 0.5652 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4023, allocations: 4 kB / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000832/0.4032, allocations: 494.2 kB / 0.5657 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4032, allocations: 3.984 kB / 0.5657 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/0.4033, allocations: 16 kB / 0.5657 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4033, allocations: 0 / 0.5657 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.4033, allocations: 7.969 kB / 0.5657 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.4033, allocations: 7.938 kB / 0.5657 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4033, allocations: 0 / 0.5657 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.4036, allocations: 252 kB / 0.5659 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/0.4037, allocations: 51.69 kB / 0.566 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.4037, allocations: 0 / 0.566 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.442e-05/0.4038, allocations: 4 kB / 0.566 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.4039, allocations: 11.98 kB / 0.566 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.4039, allocations: 4 kB / 0.566 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000858/0.4047, allocations: 0.6589 MB / 0.5666 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4047, allocations: 0 / 0.5666 GB, free: 13.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002959/0.405, allocations: 28 kB / 0.5667 GB, free: 13.29 MB / 414.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 (8): * Single equations (assignments): 8 * 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.002671/0.4077, allocations: 1.171 MB / 0.5678 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.4079, allocations: 67.95 kB / 0.5679 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.408, allocations: 0 / 0.5679 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.4081, allocations: 48.06 kB / 0.5679 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.4085, allocations: 34.38 kB / 0.568 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/0.4128, allocations: 3.392 MB / 0.5713 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.4131, allocations: 232.1 kB / 0.5715 GB, free: 8.434 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.295e-05/0.4132, allocations: 20.42 kB / 0.5715 GB, free: 8.414 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.4133, allocations: 123.4 kB / 0.5716 GB, free: 8.293 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4133, allocations: 0 / 0.5716 GB, free: 8.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.4502, allocations: 6.98 MB / 0.5785 GB, free: 1.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.77, allocations: 7.297 kB / 0.5785 GB, free: 1.355 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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: 14.946432990953326]