Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001762/0.001762, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002181/0.002181, allocations: 210.2 kB / 23.73 MB, free: 4.523 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2332/0.2332, allocations: 46.95 MB / 360.9 MB, free: 4.035 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 71.89 kB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3906, allocations: 66.04 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003297/0.3939, allocations: 1.657 MB / 0.5622 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.395, allocations: 0.5661 MB / 0.5628 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.768e-05/0.3951, allocations: 4 kB / 0.5628 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006049/0.3957, allocations: 451.1 kB / 0.5632 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004867/0.3962, allocations: 303.2 kB / 0.5635 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.3966, allocations: 171.5 kB / 0.5637 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.3969, allocations: 183.6 kB / 0.5639 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.397, allocations: 18.06 kB / 0.5639 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.3971, allocations: 115.7 kB / 0.564 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.3974, allocations: 243.5 kB / 0.5642 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.3974, allocations: 4 kB / 0.5642 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3976, allocations: 55.92 kB / 0.5643 GB, free: 484 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3977, allocations: 95.61 kB / 0.5644 GB, free: 388 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.471e-05/0.3977, allocations: 75.23 kB / 0.5644 GB, free: 312 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.3981, allocations: 294.5 kB / 0.5647 GB, free: 16 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3981, allocations: 0 / 0.5647 GB, free: 16 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3981, allocations: 0 / 0.5647 GB, free: 16 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.3981, allocations: 0 / 0.5647 GB, free: 16 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.0007832/0.3989, allocations: 0.5931 MB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3989, allocations: 12.03 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.399, allocations: 34.75 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.399, allocations: 44.66 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.3993, allocations: 246.8 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.3993, allocations: 8.375 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.3994, allocations: 4.375 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.3995, allocations: 69.48 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3995, allocations: 4 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.3996, allocations: 0 / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.3996, allocations: 7.922 kB / 0.5657 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.3997, allocations: 31.98 kB / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.4002, allocations: 375.7 kB / 0.5661 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.4004, allocations: 46.56 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.168e-05/0.4004, allocations: 16.94 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.4004, allocations: 4 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.4005, allocations: 34.56 kB / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4005, allocations: 0 / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001017/0.4015, allocations: 332.6 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.4015, allocations: 59.28 kB / 0.5666 GB, free: 13.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009113/0.4024, allocations: 0.8777 MB / 0.5674 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4025, allocations: 29.7 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.4027, allocations: 220.1 kB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.4027, allocations: 31.73 kB / 0.5677 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.4027, allocations: 21.72 kB / 0.5677 GB, free: 12.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.4029, allocations: 362.8 kB / 0.5681 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.261e-05/0.403, allocations: 27.98 kB / 0.5681 GB, free: 12.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.827e-05/0.4031, allocations: 35.97 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.4033, allocations: 68.83 kB / 0.5682 GB, free: 12.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4033, allocations: 0 / 0.5682 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002658/0.4035, allocations: 161.3 kB / 0.5683 GB, free: 12.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4035, allocations: 7.938 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.4035, allocations: 4 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4036, allocations: 0 / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.4037, allocations: 23.92 kB / 0.5684 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.4037, allocations: 320 / 0.5684 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.4037, allocations: 4 kB / 0.5684 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.4037, allocations: 8 kB / 0.5684 GB, free: 12.05 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.0002305/0.404, allocations: 213.8 kB / 0.5686 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.348e-05/0.404, allocations: 44.14 kB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.4044, allocations: 181.4 kB / 0.5688 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.4044, allocations: 3.938 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4044, allocations: 4 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4044, allocations: 3.984 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006989/0.4051, allocations: 498.2 kB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.4051, allocations: 3.938 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.164e-05/0.4052, allocations: 19.98 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.4052, allocations: 4 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.4052, allocations: 3.938 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4052, allocations: 0 / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4052, allocations: 4.031 kB / 0.5693 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.4055, allocations: 256 kB / 0.5696 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.4056, allocations: 35.67 kB / 0.5696 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.4056, allocations: 8 kB / 0.5696 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.4057, allocations: 7.984 kB / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.4058, allocations: 0 / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.4058, allocations: 4 kB / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006597/0.4064, allocations: 0.6628 MB / 0.5703 GB, free: 10.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4064, allocations: 0 / 0.5703 GB, free: 10.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.4067, allocations: 31.98 kB / 0.5703 GB, free: 9.996 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.002352/0.409, allocations: 1.183 MB / 0.5715 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.4093, allocations: 79.92 kB / 0.5715 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4093, allocations: 0 / 0.5715 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.4094, allocations: 39.92 kB / 0.5716 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.4099, allocations: 29.11 kB / 0.5716 GB, free: 8.863 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004266/0.4141, allocations: 3.396 MB / 0.5749 GB, free: 5.367 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.4144, allocations: 224.1 kB / 0.5751 GB, free: 5.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.846e-05/0.4144, allocations: 24.41 kB / 0.5751 GB, free: 5.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.4146, allocations: 119.4 kB / 0.5753 GB, free: 4.992 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4146, allocations: 4 kB / 0.5753 GB, free: 4.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.4507, allocations: 7.025 MB / 0.5821 GB, free: 14.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.33, allocations: 2.234 kB / 0.5821 GB, free: 14.01 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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: 14.37395081599243]