Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001832/0.001832, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002161/0.002161, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.541/1.541, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2356/0.2356, allocations: 44.94 MB / 358.8 MB, free: 6.031 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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",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.002005/0.002005, allocations: 67.91 kB / 0.493 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4078, allocations: 65.47 MB / 0.557 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003255/0.411, allocations: 1.62 MB / 0.5586 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.4121, allocations: 0.5154 MB / 0.5591 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.4121, allocations: 0 / 0.5591 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.4124, allocations: 83.7 kB / 0.5592 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.4127, allocations: 107.6 kB / 0.5593 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.413, allocations: 87.75 kB / 0.5593 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.4132, allocations: 87.75 kB / 0.5594 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.558e-05/0.4133, allocations: 13.81 kB / 0.5594 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.231e-05/0.4133, allocations: 39.84 kB / 0.5595 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.4134, allocations: 63.75 kB / 0.5595 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.4134, allocations: 4 kB / 0.5595 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.4136, allocations: 43.98 kB / 0.5596 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.976e-05/0.4136, allocations: 23.91 kB / 0.5596 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.4137, allocations: 19.81 kB / 0.5596 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.4139, allocations: 111.5 kB / 0.5597 GB, free: 4.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4139, allocations: 0 / 0.5597 GB, free: 4.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.4139, allocations: 0 / 0.5597 GB, free: 4.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.4139, allocations: 0 / 0.5597 GB, free: 4.684 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.0005527/0.4144, allocations: 349.5 kB / 0.5601 GB, free: 4.312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4145, allocations: 8.031 kB / 0.5601 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.4145, allocations: 34.73 kB / 0.5601 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.4145, allocations: 16.84 kB / 0.5601 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.4148, allocations: 143 kB / 0.5603 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.4148, allocations: 384 / 0.5603 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.4148, allocations: 8.375 kB / 0.5603 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.4149, allocations: 53.61 kB / 0.5603 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.4149, allocations: 0 / 0.5603 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.415, allocations: 0 / 0.5603 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.415, allocations: 4 kB / 0.5603 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.4151, allocations: 35.91 kB / 0.5604 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.4155, allocations: 255.9 kB / 0.5606 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.4156, allocations: 38.56 kB / 0.5606 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.4156, allocations: 12.86 kB / 0.5606 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.4157, allocations: 12.02 kB / 0.5607 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.4157, allocations: 30.56 kB / 0.5607 GB, free: 3.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4157, allocations: 0 / 0.5607 GB, free: 3.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008724/0.4166, allocations: 229.6 kB / 0.5609 GB, free: 3.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.4166, allocations: 55.41 kB / 0.561 GB, free: 3.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.4168, allocations: 210.2 kB / 0.5612 GB, free: 3.055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.4169, allocations: 29.7 kB / 0.5612 GB, free: 3.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.4169, allocations: 108 kB / 0.5613 GB, free: 2.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.417, allocations: 35.73 kB / 0.5613 GB, free: 2.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.417, allocations: 25.72 kB / 0.5613 GB, free: 2.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4172, allocations: 326.8 kB / 0.5617 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.4172, allocations: 23.98 kB / 0.5617 GB, free: 2.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.245e-05/0.4173, allocations: 27.97 kB / 0.5617 GB, free: 2.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.4175, allocations: 65 kB / 0.5618 GB, free: 2.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4175, allocations: 0 / 0.5618 GB, free: 2.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002154/0.4177, allocations: 105.7 kB / 0.5619 GB, free: 2.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.4177, allocations: 8 kB / 0.5619 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.4177, allocations: 0 / 0.5619 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.4177, allocations: 3.984 kB / 0.5619 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.4178, allocations: 15.98 kB / 0.5619 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.4178, allocations: 7.938 kB / 0.5619 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.102e-05/0.4179, allocations: 3.984 kB / 0.5619 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.4179, allocations: 8 kB / 0.5619 GB, free: 2.242 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.000102/0.418, allocations: 129.8 kB / 0.562 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.418, allocations: 15.91 kB / 0.5621 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.4183, allocations: 115 kB / 0.5622 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4183, allocations: 4 kB / 0.5622 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.4183, allocations: 3.938 kB / 0.5622 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4183, allocations: 3.984 kB / 0.5622 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005348/0.4189, allocations: 362.4 kB / 0.5625 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4189, allocations: 0 / 0.5625 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.525e-05/0.419, allocations: 27.95 kB / 0.5626 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.419, allocations: 4 kB / 0.5626 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.419, allocations: 3.938 kB / 0.5626 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.419, allocations: 0 / 0.5626 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.419, allocations: 0 / 0.5626 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.4192, allocations: 200.3 kB / 0.5627 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.4193, allocations: 15.84 kB / 0.5628 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.4193, allocations: 0 / 0.5628 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.4193, allocations: 11.98 kB / 0.5628 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.4194, allocations: 8 kB / 0.5628 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.4194, allocations: 0 / 0.5628 GB, free: 1.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.4195, allocations: 176.2 kB / 0.563 GB, free: 1.086 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4195, allocations: 0 / 0.563 GB, free: 1.086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.4198, allocations: 19.94 kB / 0.563 GB, free: 1.066 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.002311/0.4221, allocations: 1.124 MB / 0.5641 GB, free: 136 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.4223, allocations: 71.88 kB / 0.5641 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4223, allocations: 0 / 0.5641 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.741e-05/0.4224, allocations: 31.98 kB / 0.5642 GB, free: 32 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.4229, allocations: 21.61 kB / 0.5642 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.4251, allocations: 1.681 MB / 0.5658 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.4253, allocations: 88.75 kB / 0.5659 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.222e-05/0.4253, allocations: 20.95 kB / 0.5659 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.4254, allocations: 35.42 kB / 0.566 GB, free: 14.09 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4254, allocations: 0 / 0.566 GB, free: 14.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.4551, allocations: 3.68 MB / 0.5696 GB, free: 10.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.75, allocations: 10.28 kB / 0.5696 GB, free: 10.45 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.904377786908299]