Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001342/0.001342, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002584/0.002584, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.524/1.524, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2563/0.2563, allocations: 46.96 MB / 361.7 MB, free: 4.129 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003202/0.003202, allocations: 63.91 kB / 0.4969 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4242, allocations: 66.03 MB / 0.5614 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003524/0.4278, allocations: 1.668 MB / 0.563 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.4289, allocations: 0.5582 MB / 0.5636 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.826e-05/0.429, allocations: 0 / 0.5636 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005997/0.4296, allocations: 463.1 kB / 0.564 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005119/0.4301, allocations: 291.3 kB / 0.5643 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.4306, allocations: 186.5 kB / 0.5644 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.4309, allocations: 179.6 kB / 0.5646 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.431, allocations: 18.47 kB / 0.5646 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.4312, allocations: 115.7 kB / 0.5647 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.4315, allocations: 251.5 kB / 0.565 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.4315, allocations: 8 kB / 0.565 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.4317, allocations: 47.98 kB / 0.565 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.4318, allocations: 91.61 kB / 0.5651 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.529e-05/0.4318, allocations: 67.25 kB / 0.5652 GB, free: 460 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.4322, allocations: 298.4 kB / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4322, allocations: 0 / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4322, allocations: 0 / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.4323, allocations: 0 / 0.5655 GB, free: 160 kB / 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.0008053/0.4331, allocations: 0.597 MB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.4331, allocations: 8.031 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.258e-05/0.4331, allocations: 4.188 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.051e-05/0.4331, allocations: 34.75 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.27e-05/0.4332, allocations: 48.64 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.4335, allocations: 254.7 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.4335, allocations: 4.375 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.4336, allocations: 4.125 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.4337, allocations: 57.67 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4337, allocations: 7.938 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.4338, allocations: 4 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.4338, allocations: 0 / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.4339, allocations: 35.91 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005859/0.4345, allocations: 371.8 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.4346, allocations: 46.59 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/0.4346, allocations: 20.94 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.4347, allocations: 0 / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.4347, allocations: 34.56 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.4347, allocations: 3.938 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001069/0.4358, allocations: 340.7 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.4358, allocations: 55.39 kB / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000971/0.4368, allocations: 0.8738 MB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.4368, allocations: 29.7 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.437, allocations: 220.1 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.437, allocations: 31.73 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.4371, allocations: 21.72 kB / 0.5685 GB, free: 12.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.4373, allocations: 366.8 kB / 0.5688 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.402e-05/0.4374, allocations: 31.97 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.01e-05/0.4375, allocations: 35.98 kB / 0.5689 GB, free: 12.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.4377, allocations: 76.75 kB / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4377, allocations: 0 / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003054/0.438, allocations: 153.3 kB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.438, allocations: 4 kB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.438, allocations: 8 kB / 0.5691 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.438, allocations: 3.938 kB / 0.5691 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.4381, allocations: 15.98 kB / 0.5691 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.4381, allocations: 0 / 0.5691 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.963e-05/0.4382, allocations: 4 kB / 0.5691 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.4382, allocations: 7.984 kB / 0.5692 GB, free: 12.19 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.0002213/0.4384, allocations: 213.7 kB / 0.5694 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.4385, allocations: 43.72 kB / 0.5694 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003754/0.4389, allocations: 181.8 kB / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4389, allocations: 3.938 kB / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4389, allocations: 0 / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4389, allocations: 7.922 kB / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007424/0.4397, allocations: 498.2 kB / 0.5701 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4397, allocations: 0 / 0.5701 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-05/0.4397, allocations: 19.92 kB / 0.5701 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.4397, allocations: 8.031 kB / 0.5701 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.4398, allocations: 0 / 0.5701 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4398, allocations: 0 / 0.5701 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4398, allocations: 0 / 0.5701 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.4401, allocations: 256 kB / 0.5703 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.4401, allocations: 35.67 kB / 0.5704 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.4402, allocations: 7.984 kB / 0.5704 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/0.4403, allocations: 8 kB / 0.5704 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.4403, allocations: 7.922 kB / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.4403, allocations: 8 kB / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006766/0.441, allocations: 0.6589 MB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.441, allocations: 4 kB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.4413, allocations: 27.94 kB / 0.5711 GB, free: 10.13 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.002435/0.4437, allocations: 1.178 MB / 0.5722 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.444, allocations: 71.89 kB / 0.5723 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.444, allocations: 0 / 0.5723 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.4441, allocations: 43.91 kB / 0.5723 GB, free: 9.027 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.4445, allocations: 28.28 kB / 0.5724 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004164/0.4487, allocations: 3.404 MB / 0.5757 GB, free: 5.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.4489, allocations: 228.7 kB / 0.5759 GB, free: 5.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.077e-05/0.449, allocations: 20.42 kB / 0.5759 GB, free: 5.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.4492, allocations: 119.4 kB / 0.576 GB, free: 5.125 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4492, allocations: 0 / 0.576 GB, free: 5.125 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.4773, allocations: 6.725 MB / 0.5826 GB, free: 14.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.5, allocations: 9.422 kB / 0.5826 GB, free: 14.45 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.800571448984556]