Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001335/0.001335, 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.001584/0.001584, allocations: 215.8 kB / 23.73 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2274/0.2274, allocations: 44.93 MB / 358.8 MB, free: 6.047 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.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3",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.002955/0.002955, allocations: 67.89 kB / 0.493 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.409, allocations: 65.48 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003096/0.4121, allocations: 1.608 MB / 0.5586 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.4132, allocations: 0.5349 MB / 0.5591 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.234e-05/0.4133, allocations: 0 / 0.5591 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.4136, allocations: 79.7 kB / 0.5592 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.4139, allocations: 99.64 kB / 0.5593 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.4142, allocations: 119.4 kB / 0.5594 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.4144, allocations: 83.75 kB / 0.5594 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.948e-05/0.4145, allocations: 13.81 kB / 0.5595 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.142e-05/0.4146, allocations: 35.91 kB / 0.5595 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.4147, allocations: 63.69 kB / 0.5596 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.4147, allocations: 4 kB / 0.5596 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.4148, allocations: 43.98 kB / 0.5596 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.4149, allocations: 15.94 kB / 0.5596 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.4149, allocations: 27.78 kB / 0.5596 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.4151, allocations: 107.5 kB / 0.5597 GB, free: 4.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4151, allocations: 0 / 0.5597 GB, free: 4.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4151, allocations: 0 / 0.5597 GB, free: 4.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.4151, allocations: 0 / 0.5597 GB, free: 4.715 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.0005097/0.4157, allocations: 337.6 kB / 0.5601 GB, free: 4.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.4157, allocations: 16.03 kB / 0.5601 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.4157, allocations: 30.75 kB / 0.5601 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.4158, allocations: 12.84 kB / 0.5601 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.416, allocations: 138.4 kB / 0.5603 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.416, allocations: 8.375 kB / 0.5603 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.416, allocations: 4.375 kB / 0.5603 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.4161, allocations: 57.61 kB / 0.5603 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4162, allocations: 4 kB / 0.5603 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.4162, allocations: 3.938 kB / 0.5603 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4162, allocations: 0 / 0.5603 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.4163, allocations: 35.91 kB / 0.5604 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.4167, allocations: 267.9 kB / 0.5606 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.4168, allocations: 46.56 kB / 0.5607 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.4169, allocations: 16.94 kB / 0.5607 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.4169, allocations: 0 / 0.5607 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.4169, allocations: 38.5 kB / 0.5607 GB, free: 3.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.4169, allocations: 0 / 0.5607 GB, free: 3.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009754/0.4179, allocations: 237.5 kB / 0.5609 GB, free: 3.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.418, allocations: 55.41 kB / 0.561 GB, free: 3.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.4182, allocations: 203.2 kB / 0.5612 GB, free: 3.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.4182, allocations: 29.64 kB / 0.5612 GB, free: 3.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.4184, allocations: 112.1 kB / 0.5613 GB, free: 2.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.4185, allocations: 23.81 kB / 0.5613 GB, free: 2.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.4185, allocations: 33.7 kB / 0.5614 GB, free: 2.855 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4186, allocations: 322.8 kB / 0.5617 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/0.4187, allocations: 27.98 kB / 0.5617 GB, free: 2.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.108e-05/0.4188, allocations: 27.97 kB / 0.5617 GB, free: 2.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.419, allocations: 72.83 kB / 0.5618 GB, free: 2.402 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.419, allocations: 3.938 kB / 0.5618 GB, free: 2.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002329/0.4192, allocations: 109.6 kB / 0.5619 GB, free: 2.285 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4192, allocations: 12 kB / 0.5619 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.4192, allocations: 0 / 0.5619 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.4192, allocations: 0 / 0.5619 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.4194, allocations: 19.98 kB / 0.5619 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4194, allocations: 4.25 kB / 0.562 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.43e-05/0.4195, allocations: 4 kB / 0.562 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.4195, allocations: 0 / 0.562 GB, free: 2.246 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 (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.0001192/0.4196, allocations: 133.8 kB / 0.5621 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.4196, allocations: 11.91 kB / 0.5621 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.4201, allocations: 142.9 kB / 0.5622 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4201, allocations: 0 / 0.5622 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4201, allocations: 3.938 kB / 0.5622 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.4201, allocations: 0 / 0.5622 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005836/0.4207, allocations: 374.4 kB / 0.5626 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4207, allocations: 0 / 0.5626 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.627e-05/0.4208, allocations: 23.92 kB / 0.5626 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.4208, allocations: 8.031 kB / 0.5626 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.4208, allocations: 0 / 0.5626 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4208, allocations: 3.938 kB / 0.5626 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4208, allocations: 4 kB / 0.5626 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.4211, allocations: 216.2 kB / 0.5628 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.4211, allocations: 11.89 kB / 0.5628 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.4211, allocations: 4 kB / 0.5629 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.4212, allocations: 4 kB / 0.5629 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.4212, allocations: 7.984 kB / 0.5629 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.4212, allocations: 8 kB / 0.5629 GB, free: 1.211 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000153/0.4214, allocations: 153.8 kB / 0.563 GB, free: 1.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4214, allocations: 0 / 0.563 GB, free: 1.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000258/0.4216, allocations: 23.94 kB / 0.563 GB, free: 1.039 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 (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.002355/0.424, allocations: 1.136 MB / 0.5642 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.4242, allocations: 71.89 kB / 0.5642 GB, free: 20 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4242, allocations: 0 / 0.5642 GB, free: 20 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.4243, allocations: 44.11 kB / 0.5643 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.4247, allocations: 22.55 kB / 0.5643 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.4267, allocations: 1.687 MB / 0.5659 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.4268, allocations: 92.19 kB / 0.566 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.331e-05/0.4269, allocations: 20.66 kB / 0.566 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.427, allocations: 31.42 kB / 0.5661 GB, free: 14.03 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.427, allocations: 0 / 0.5661 GB, free: 14.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/0.457, allocations: 3.659 MB / 0.5696 GB, free: 10.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.78, allocations: 7.375 kB / 0.5696 GB, free: 10.41 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.866962040308863]