Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.001301/0.001301, 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.001445/0.001445, 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.2262/0.2262, allocations: 44.91 MB / 359.6 MB, free: 6.285 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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",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.002135/0.002135, allocations: 63.91 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4113, allocations: 65.48 MB / 0.5578 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002987/0.4143, allocations: 1.609 MB / 0.5594 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.4163, allocations: 1.267 MB / 0.5606 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.4163, allocations: 3.938 kB / 0.5606 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.4165, allocations: 19.86 kB / 0.5606 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.4168, allocations: 87.61 kB / 0.5607 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.4171, allocations: 107.7 kB / 0.5608 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.4173, allocations: 67.78 kB / 0.5609 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.528e-05/0.4174, allocations: 17.81 kB / 0.5609 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.698e-05/0.4174, allocations: 27.86 kB / 0.5609 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.4176, allocations: 35.84 kB / 0.561 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.4176, allocations: 7.984 kB / 0.561 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.4178, allocations: 95.89 kB / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.4178, allocations: 19.91 kB / 0.5611 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.4179, allocations: 19.88 kB / 0.5611 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.4181, allocations: 143.5 kB / 0.5612 GB, free: 4.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.4181, allocations: 0 / 0.5612 GB, free: 4.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4181, allocations: 0 / 0.5612 GB, free: 4.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.4181, allocations: 0 / 0.5612 GB, free: 4.219 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005022/0.4186, allocations: 333.6 kB / 0.5616 GB, free: 3.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.4186, allocations: 12.03 kB / 0.5616 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.306e-05/0.4187, allocations: 4.188 kB / 0.5616 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.4187, allocations: 34.73 kB / 0.5616 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.4187, allocations: 12.89 kB / 0.5616 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.4189, allocations: 130.4 kB / 0.5618 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.4189, allocations: 8.375 kB / 0.5618 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.419, allocations: 8.062 kB / 0.5618 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.4191, allocations: 63.39 kB / 0.5618 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4191, allocations: 4 kB / 0.5618 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.4191, allocations: 4 kB / 0.5618 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.4191, allocations: 0 / 0.5618 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.824e-05/0.4192, allocations: 27.91 kB / 0.5619 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.4196, allocations: 252 kB / 0.5621 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.4198, allocations: 46.55 kB / 0.5621 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.524e-05/0.4199, allocations: 12.86 kB / 0.5622 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.4199, allocations: 3.938 kB / 0.5622 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.42, allocations: 38.64 kB / 0.5622 GB, free: 3.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.42, allocations: 0 / 0.5622 GB, free: 3.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006014/0.4206, allocations: 153.4 kB / 0.5623 GB, free: 2.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.4206, allocations: 77.11 kB / 0.5624 GB, free: 2.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.4208, allocations: 145.8 kB / 0.5626 GB, free: 2.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.4208, allocations: 29.7 kB / 0.5626 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.4209, allocations: 96.06 kB / 0.5627 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.4209, allocations: 23.84 kB / 0.5627 GB, free: 2.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.4209, allocations: 21.72 kB / 0.5627 GB, free: 2.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4211, allocations: 318.8 kB / 0.563 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.618e-05/0.4212, allocations: 19.98 kB / 0.563 GB, free: 2.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.301e-05/0.4213, allocations: 33.7 kB / 0.5631 GB, free: 2.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.4214, allocations: 56.81 kB / 0.5631 GB, free: 2.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4214, allocations: 4.031 kB / 0.5631 GB, free: 2.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002175/0.4216, allocations: 81.56 kB / 0.5632 GB, free: 1.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.4217, allocations: 8 kB / 0.5632 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4217, allocations: 3.938 kB / 0.5632 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.4217, allocations: 0 / 0.5632 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/0.4217, allocations: 16.23 kB / 0.5632 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.4217, allocations: 4 kB / 0.5632 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.632e-05/0.4218, allocations: 11.92 kB / 0.5633 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.4218, allocations: 4 kB / 0.5633 GB, free: 1.945 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 (5): * Single equations (assignments): 5 * 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 9.364e-05/0.4219, allocations: 117.8 kB / 0.5634 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.4219, allocations: 7.953 kB / 0.5634 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.4222, allocations: 98.27 kB / 0.5635 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4222, allocations: 4 kB / 0.5635 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4222, allocations: 0 / 0.5635 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.4222, allocations: 7.922 kB / 0.5635 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.4227, allocations: 325.6 kB / 0.5638 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4227, allocations: 0 / 0.5638 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.524e-05/0.4228, allocations: 19.94 kB / 0.5638 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4228, allocations: 3.984 kB / 0.5638 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.4228, allocations: 7.875 kB / 0.5638 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4228, allocations: 0 / 0.5638 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4228, allocations: 0 / 0.5638 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.4231, allocations: 183.5 kB / 0.564 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.4231, allocations: 7.953 kB / 0.564 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.4231, allocations: 3.938 kB / 0.564 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.05e-05/0.4232, allocations: 8 kB / 0.564 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.4232, allocations: 3.984 kB / 0.564 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.4232, allocations: 0 / 0.564 GB, free: 1.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.4233, allocations: 117.3 kB / 0.5641 GB, free: 0.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4233, allocations: 0 / 0.5641 GB, free: 0.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003224/0.4237, allocations: 39.88 kB / 0.5642 GB, free: 0.918 MB / 398.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 (5): * Single equations (assignments): 5 * 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.002325/0.426, allocations: 1.126 MB / 0.5653 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.4262, allocations: 47.95 kB / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4262, allocations: 4 kB / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.24e-05/0.4263, allocations: 27.92 kB / 0.5653 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.4267, allocations: 23.92 kB / 0.5654 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.4286, allocations: 1.443 MB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.429, allocations: 0.6962 MB / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.775e-05/0.4291, allocations: 23.98 kB / 0.5675 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.4292, allocations: 27.42 kB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4292, allocations: 0 / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.4548, allocations: 3.437 MB / 0.5709 GB, free: 10.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.85, allocations: 10.05 kB / 0.5709 GB, free: 10.17 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.953439018980134]