Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001258/0.001258, 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.001445/0.001445, allocations: 215.8 kB / 24.52 MB, free: 3.91 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.542/1.542, allocations: 230.6 MB / 258.3 MB, free: 7.75 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.2507/0.2507, allocations: 46.96 MB / 361.7 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 59.91 kB / 0.4969 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4233, allocations: 66.04 MB / 0.5614 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003935/0.4272, allocations: 1.652 MB / 0.563 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.4285, allocations: 0.5348 MB / 0.5635 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.025e-05/0.4286, allocations: 4 kB / 0.5635 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007465/0.4293, allocations: 455.1 kB / 0.564 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005823/0.4299, allocations: 291.3 kB / 0.5642 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.4303, allocations: 139.3 kB / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.4306, allocations: 179.6 kB / 0.5645 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.4307, allocations: 13.81 kB / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.4309, allocations: 115.7 kB / 0.5647 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000369/0.4312, allocations: 247.5 kB / 0.5649 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.4313, allocations: 4 kB / 0.5649 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.4314, allocations: 55.86 kB / 0.565 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.4316, allocations: 91.67 kB / 0.565 GB, free: 464 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.437e-05/0.4316, allocations: 71.19 kB / 0.5651 GB, free: 392 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004252/0.4321, allocations: 282.5 kB / 0.5654 GB, free: 108 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4321, allocations: 0 / 0.5654 GB, free: 108 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4321, allocations: 0 / 0.5654 GB, free: 108 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.4321, allocations: 4 kB / 0.5654 GB, free: 104 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.0009676/0.4331, allocations: 0.5932 MB / 0.566 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.4331, allocations: 11.97 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.385e-05/0.4331, allocations: 8.188 kB / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.868e-05/0.4332, allocations: 30.75 kB / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.078e-05/0.4333, allocations: 52.64 kB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.4336, allocations: 246.8 kB / 0.5663 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.4336, allocations: 8.375 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.4337, allocations: 8.125 kB / 0.5663 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.4338, allocations: 57.62 kB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.4338, allocations: 3.984 kB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.4339, allocations: 0 / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4339, allocations: 0 / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.434, allocations: 27.98 kB / 0.5664 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.4345, allocations: 367.7 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.4346, allocations: 46.55 kB / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.662e-05/0.4347, allocations: 20.94 kB / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.4347, allocations: 0 / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.4348, allocations: 30.56 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.4348, allocations: 4 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001077/0.4358, allocations: 324.5 kB / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.4359, allocations: 55.34 kB / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.4369, allocations: 0.8738 MB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.437, allocations: 25.7 kB / 0.5681 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.4372, allocations: 224.1 kB / 0.5683 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.4372, allocations: 27.75 kB / 0.5683 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.4373, allocations: 25.7 kB / 0.5684 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.4375, allocations: 358.8 kB / 0.5687 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.343e-05/0.4376, allocations: 27.97 kB / 0.5687 GB, free: 12.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.593e-05/0.4377, allocations: 31.98 kB / 0.5688 GB, free: 12.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.4379, allocations: 64.77 kB / 0.5688 GB, free: 12.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4379, allocations: 0 / 0.5688 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002987/0.4382, allocations: 137.3 kB / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4382, allocations: 4 kB / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4382, allocations: 3.938 kB / 0.569 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.4382, allocations: 7.938 kB / 0.569 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.4383, allocations: 19.98 kB / 0.569 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4383, allocations: 0 / 0.569 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.462e-05/0.4384, allocations: 7.984 kB / 0.569 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.4384, allocations: 4 kB / 0.569 GB, free: 12.2 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.0002396/0.4387, allocations: 209.8 kB / 0.5692 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.007e-05/0.4387, allocations: 47.67 kB / 0.5692 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.4391, allocations: 161.5 kB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4391, allocations: 7.938 kB / 0.5694 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4391, allocations: 0 / 0.5694 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4391, allocations: 0 / 0.5694 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007557/0.4399, allocations: 478.7 kB / 0.5699 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.4399, allocations: 0 / 0.5699 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.692e-05/0.44, allocations: 23.98 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.44, allocations: 0 / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.44, allocations: 4 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.44, allocations: 4.031 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.44, allocations: 0 / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.4404, allocations: 248 kB / 0.5701 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.4405, allocations: 39.72 kB / 0.5702 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.4405, allocations: 0 / 0.5702 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-05/0.4406, allocations: 7.984 kB / 0.5702 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.4406, allocations: 11.98 kB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.4406, allocations: 4 kB / 0.5702 GB, free: 10.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007854/0.4414, allocations: 0.655 MB / 0.5708 GB, free: 10.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4414, allocations: 4 kB / 0.5708 GB, free: 10.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.4417, allocations: 31.92 kB / 0.5709 GB, free: 10.2 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.002495/0.4442, allocations: 1.171 MB / 0.572 GB, free: 9.215 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.4445, allocations: 59.95 kB / 0.5721 GB, free: 9.156 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4445, allocations: 0 / 0.5721 GB, free: 9.156 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.4446, allocations: 39.92 kB / 0.5721 GB, free: 9.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.445, allocations: 30.23 kB / 0.5721 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.4496, allocations: 3.337 MB / 0.5754 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.4498, allocations: 220.8 kB / 0.5756 GB, free: 5.422 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.763e-05/0.4499, allocations: 24.66 kB / 0.5756 GB, free: 5.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.4501, allocations: 103.4 kB / 0.5757 GB, free: 5.297 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4501, allocations: 4 kB / 0.5757 GB, free: 5.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/0.4812, allocations: 6.643 MB / 0.5822 GB, free: 14.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.36, allocations: 10.53 kB / 0.5822 GB, free: 14.7 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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: 15.660895437002182]