Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001273/0.001273, 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.001411/0.001411, 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.546/1.546, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2251/0.2251, allocations: 46.97 MB / 361.7 MB, free: 4.039 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.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003323/0.003323, allocations: 71.88 kB / 0.4969 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4405, allocations: 66.03 MB / 0.5614 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003622/0.4442, allocations: 1.659 MB / 0.563 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.4453, allocations: 0.531 MB / 0.5635 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.443e-05/0.4454, allocations: 4 kB / 0.5635 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006414/0.4461, allocations: 459.1 kB / 0.564 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005953/0.4467, allocations: 291.3 kB / 0.5642 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.4471, allocations: 135.5 kB / 0.5644 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.4474, allocations: 183.6 kB / 0.5645 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.4475, allocations: 13.81 kB / 0.5646 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.4477, allocations: 111.7 kB / 0.5647 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.4481, allocations: 251.5 kB / 0.5649 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.4481, allocations: 8 kB / 0.5649 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.4482, allocations: 51.92 kB / 0.565 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.4483, allocations: 83.69 kB / 0.565 GB, free: 492 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.363e-05/0.4484, allocations: 79.16 kB / 0.5651 GB, free: 412 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.4489, allocations: 278.6 kB / 0.5654 GB, free: 132 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4489, allocations: 7.938 kB / 0.5654 GB, free: 124 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4489, allocations: 0 / 0.5654 GB, free: 124 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.4489, allocations: 0 / 0.5654 GB, free: 124 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.000925/0.4498, allocations: 0.5931 MB / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.4499, allocations: 8.031 kB / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.864e-05/0.4499, allocations: 12.19 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.4499, allocations: 34.73 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.74e-05/0.45, allocations: 44.66 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.4504, allocations: 246.8 kB / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.4504, allocations: 4.375 kB / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.4504, allocations: 8.125 kB / 0.5663 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.4506, allocations: 61.61 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.4506, allocations: 3.984 kB / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.4506, allocations: 0 / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4506, allocations: 0 / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.4507, allocations: 31.98 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006116/0.4513, allocations: 367.7 kB / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.4514, allocations: 38.56 kB / 0.5668 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.712e-05/0.4515, allocations: 20.94 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.4515, allocations: 0 / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.4516, allocations: 34.56 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4516, allocations: 0 / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.00103/0.4526, allocations: 316.5 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.4526, allocations: 55.34 kB / 0.5672 GB, free: 14.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009768/0.4536, allocations: 0.8738 MB / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.4536, allocations: 25.7 kB / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.4538, allocations: 232.1 kB / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.4539, allocations: 27.69 kB / 0.5683 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.4539, allocations: 25.7 kB / 0.5684 GB, free: 12.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.4541, allocations: 370.7 kB / 0.5687 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.537e-05/0.4542, allocations: 23.98 kB / 0.5687 GB, free: 12.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.197e-05/0.4543, allocations: 28.06 kB / 0.5688 GB, free: 12.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.4545, allocations: 64.97 kB / 0.5688 GB, free: 12.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4545, allocations: 0 / 0.5688 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002714/0.4547, allocations: 133.3 kB / 0.5689 GB, free: 12.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.4547, allocations: 4 kB / 0.5689 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4547, allocations: 8 kB / 0.569 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.4548, allocations: 7.922 kB / 0.569 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.4549, allocations: 12 kB / 0.569 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4549, allocations: 0 / 0.569 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.975e-05/0.4549, allocations: 7.984 kB / 0.569 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.455, allocations: 8 kB / 0.569 GB, free: 12.23 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.0002259/0.4552, allocations: 213.8 kB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.944e-05/0.4553, allocations: 47.67 kB / 0.5692 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/0.4556, allocations: 165.5 kB / 0.5694 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.4556, allocations: 3.938 kB / 0.5694 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4556, allocations: 0 / 0.5694 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4556, allocations: 0 / 0.5694 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006921/0.4563, allocations: 478.3 kB / 0.5699 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.4563, allocations: 4 kB / 0.5699 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.687e-05/0.4564, allocations: 15.98 kB / 0.5699 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4564, allocations: 4.031 kB / 0.5699 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.4564, allocations: 4 kB / 0.5699 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.4564, allocations: 0 / 0.5699 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4564, allocations: 0 / 0.5699 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.4568, allocations: 244.3 kB / 0.5701 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.4568, allocations: 39.72 kB / 0.5702 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.4568, allocations: 3.984 kB / 0.5702 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.382e-05/0.4569, allocations: 4 kB / 0.5702 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.457, allocations: 11.98 kB / 0.5702 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.457, allocations: 11.98 kB / 0.5702 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000745/0.4577, allocations: 0.6589 MB / 0.5708 GB, free: 10.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4577, allocations: 0 / 0.5708 GB, free: 10.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.458, allocations: 27.94 kB / 0.5709 GB, free: 10.23 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.002467/0.4605, allocations: 1.167 MB / 0.572 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.4607, allocations: 63.94 kB / 0.5721 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4607, allocations: 4 kB / 0.5721 GB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.4608, allocations: 35.92 kB / 0.5721 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.4613, allocations: 30.23 kB / 0.5721 GB, free: 9.117 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004702/0.466, allocations: 3.34 MB / 0.5754 GB, free: 5.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.4663, allocations: 224.7 kB / 0.5756 GB, free: 5.445 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.885e-05/0.4664, allocations: 20.72 kB / 0.5756 GB, free: 5.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.4665, allocations: 107.4 kB / 0.5757 GB, free: 5.32 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4665, allocations: 4 kB / 0.5757 GB, free: 5.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0318/0.4983, allocations: 6.631 MB / 0.5822 GB, free: 14.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.53, allocations: 13.42 kB / 0.5822 GB, free: 14.73 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.75622548093088]