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.001231/0.001231, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001419/0.001419, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.538/1.538, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2474/0.2474, allocations: 46.96 MB / 361.7 MB, free: 4.062 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 59.91 kB / 0.4969 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3926, allocations: 66.03 MB / 0.5614 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003686/0.3963, allocations: 1.668 MB / 0.563 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.3976, allocations: 0.5622 MB / 0.5636 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.3977, allocations: 4 kB / 0.5636 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007399/0.3984, allocations: 459.1 kB / 0.564 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006053/0.399, allocations: 295.3 kB / 0.5643 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005398/0.3996, allocations: 171.5 kB / 0.5644 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000316/0.3999, allocations: 183.6 kB / 0.5646 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.4, allocations: 22.05 kB / 0.5646 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.4002, allocations: 111.7 kB / 0.5647 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003294/0.4005, allocations: 243.5 kB / 0.565 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.4005, allocations: 4 kB / 0.565 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.4007, allocations: 63.91 kB / 0.565 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.4008, allocations: 83.69 kB / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.4009, allocations: 79.17 kB / 0.5652 GB, free: 360 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004315/0.4013, allocations: 290.5 kB / 0.5655 GB, free: 68 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.4013, allocations: 4 kB / 0.5655 GB, free: 64 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4013, allocations: 0 / 0.5655 GB, free: 64 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.4014, allocations: 0 / 0.5655 GB, free: 64 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.0009214/0.4023, allocations: 0.5892 MB / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.4023, allocations: 12.03 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.959e-05/0.4023, allocations: 4.125 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.4024, allocations: 34.75 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.235e-05/0.4025, allocations: 48.66 kB / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.4028, allocations: 246.8 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.4028, allocations: 8.375 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.4028, allocations: 12.11 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.403, allocations: 57.67 kB / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.4031, allocations: 3.938 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.4031, allocations: 0 / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4031, allocations: 0 / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.4032, allocations: 31.98 kB / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/0.4038, allocations: 375.8 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.4039, allocations: 54.53 kB / 0.5669 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.404, allocations: 16.94 kB / 0.5669 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.404, allocations: 4 kB / 0.5669 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.4041, allocations: 30.56 kB / 0.567 GB, free: 14.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.4041, allocations: 0 / 0.567 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001122/0.4052, allocations: 344.4 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.4052, allocations: 59.34 kB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.4063, allocations: 0.8738 MB / 0.5682 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.4064, allocations: 33.64 kB / 0.5682 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.4066, allocations: 224.1 kB / 0.5684 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.4066, allocations: 27.73 kB / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.4067, allocations: 21.72 kB / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.4069, allocations: 366.8 kB / 0.5688 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.58e-05/0.407, allocations: 31.98 kB / 0.5689 GB, free: 12.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.76e-05/0.407, allocations: 27.97 kB / 0.5689 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.4072, allocations: 76.83 kB / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4072, allocations: 0 / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003555/0.4076, allocations: 149.3 kB / 0.5691 GB, free: 12.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.4076, allocations: 8 kB / 0.5691 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.4076, allocations: 0 / 0.5691 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.4076, allocations: 7.938 kB / 0.5691 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.4078, allocations: 23.92 kB / 0.5691 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4078, allocations: 0 / 0.5691 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.712e-05/0.4078, allocations: 8 kB / 0.5692 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.4078, allocations: 0 / 0.5692 GB, free: 12.1 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.0002554/0.4081, allocations: 217.8 kB / 0.5694 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.4082, allocations: 44.14 kB / 0.5694 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.4086, allocations: 177.4 kB / 0.5696 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4086, allocations: 3.938 kB / 0.5696 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.4086, allocations: 0 / 0.5696 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.4086, allocations: 3.984 kB / 0.5696 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007635/0.4093, allocations: 0.4908 MB / 0.5701 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4093, allocations: 0 / 0.5701 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.135e-05/0.4094, allocations: 19.98 kB / 0.5701 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4094, allocations: 0 / 0.5701 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.4094, allocations: 4.031 kB / 0.5701 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/0.4094, allocations: 4.078 kB / 0.5701 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4094, allocations: 3.984 kB / 0.5701 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.4098, allocations: 252 kB / 0.5703 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.4099, allocations: 43.67 kB / 0.5704 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.4099, allocations: 0 / 0.5704 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.106e-05/0.41, allocations: 11.92 kB / 0.5704 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.41, allocations: 7.938 kB / 0.5704 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.41, allocations: 11.98 kB / 0.5704 GB, free: 10.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007068/0.4107, allocations: 0.6628 MB / 0.571 GB, free: 10.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4107, allocations: 0 / 0.571 GB, free: 10.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.411, allocations: 31.98 kB / 0.5711 GB, free: 10.03 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.00256/0.4136, allocations: 1.166 MB / 0.5722 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002852/0.4139, allocations: 75.94 kB / 0.5723 GB, free: 8.977 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4139, allocations: 0 / 0.5723 GB, free: 8.977 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.414, allocations: 39.92 kB / 0.5723 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.4145, allocations: 27.98 kB / 0.5724 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004457/0.4189, allocations: 3.403 MB / 0.5757 GB, free: 5.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.4192, allocations: 224.7 kB / 0.5759 GB, free: 5.176 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.4193, allocations: 32.7 kB / 0.5759 GB, free: 5.145 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.4195, allocations: 115.4 kB / 0.576 GB, free: 5.031 MB / 414.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4195, allocations: 0 / 0.576 GB, free: 5.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.4496, allocations: 6.731 MB / 0.5826 GB, free: 14.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.38, allocations: 10.28 kB / 0.5826 GB, free: 14.36 MB / 430.1 MB " [Timeout remaining time 647] (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: 15.65040894295089]