Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00185/0.00185, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002292/0.002292, allocations: 212.1 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2513/0.2513, allocations: 46.93 MB / 360.8 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002623/0.002623, allocations: 75.88 kB / 0.4962 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3947, allocations: 66.08 MB / 0.5607 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004813/0.3995, allocations: 2.076 MB / 0.5628 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.4022, allocations: 1.142 MB / 0.5639 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.4024, allocations: 7.938 kB / 0.5639 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006313/0.4031, allocations: 263.1 kB / 0.5641 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006533/0.4037, allocations: 263 kB / 0.5644 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.4054, allocations: 0.6581 MB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007144/0.4062, allocations: 362.8 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.4064, allocations: 62.66 kB / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.4067, allocations: 151.4 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003807/0.4071, allocations: 235.2 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.4071, allocations: 8 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.4074, allocations: 107.9 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.4076, allocations: 103.6 kB / 0.566 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.4077, allocations: 138.9 kB / 0.5662 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006423/0.4084, allocations: 370.1 kB / 0.5665 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4084, allocations: 0 / 0.5665 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.4084, allocations: 0 / 0.5665 GB, free: 14.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.4084, allocations: 0 / 0.5665 GB, free: 14.4 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001029/0.4094, allocations: 0.6437 MB / 0.5671 GB, free: 13.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4095, allocations: 8.031 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.23e-05/0.4095, allocations: 50.67 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.771e-05/0.4096, allocations: 44.66 kB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.4101, allocations: 276.6 kB / 0.5675 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.4101, allocations: 4.375 kB / 0.5675 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.4101, allocations: 12.38 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.4104, allocations: 127.4 kB / 0.5676 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.4104, allocations: 15.88 kB / 0.5677 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.4104, allocations: 4 kB / 0.5677 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.4104, allocations: 4 kB / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.4107, allocations: 91.88 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007825/0.4114, allocations: 495.4 kB / 0.5682 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.4117, allocations: 110.5 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.444e-05/0.4118, allocations: 36.84 kB / 0.5684 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.4118, allocations: 7.969 kB / 0.5684 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.4118, allocations: 38.56 kB / 0.5684 GB, free: 12.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.4118, allocations: 0 / 0.5684 GB, free: 12.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001071/0.4129, allocations: 460.4 kB / 0.5688 GB, free: 11.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.4129, allocations: 51.41 kB / 0.5689 GB, free: 11.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00074/0.4137, allocations: 0.6034 MB / 0.5695 GB, free: 11.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.4137, allocations: 29.7 kB / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.4139, allocations: 216.4 kB / 0.5697 GB, free: 10.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/0.414, allocations: 63.42 kB / 0.5698 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-05/0.4141, allocations: 45.64 kB / 0.5698 GB, free: 10.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.4143, allocations: 350.8 kB / 0.5702 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.4144, allocations: 71.95 kB / 0.5702 GB, free: 10.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.4145, allocations: 78.08 kB / 0.5703 GB, free: 10.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.4148, allocations: 152.8 kB / 0.5704 GB, free: 10.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4148, allocations: 0 / 0.5704 GB, free: 10.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003994/0.4152, allocations: 235.2 kB / 0.5707 GB, free: 9.934 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.4152, allocations: 7.938 kB / 0.5707 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4152, allocations: 4 kB / 0.5707 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.4153, allocations: 4 kB / 0.5707 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.4154, allocations: 39.91 kB / 0.5707 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.4154, allocations: 4 kB / 0.5707 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.351e-05/0.4155, allocations: 4 kB / 0.5707 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.4155, allocations: 4 kB / 0.5707 GB, free: 9.867 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 (17): * Single equations (assignments): 17 * 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.0001912/0.4157, allocations: 181.7 kB / 0.5709 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.4158, allocations: 55.59 kB / 0.571 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005697/0.4164, allocations: 289.6 kB / 0.5712 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4164, allocations: 0 / 0.5712 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4164, allocations: 0 / 0.5712 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.4164, allocations: 3.984 kB / 0.5712 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009601/0.4174, allocations: 0.6603 MB / 0.5719 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4174, allocations: 0 / 0.5719 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.4175, allocations: 39.97 kB / 0.5719 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.4175, allocations: 0 / 0.5719 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.4175, allocations: 12 kB / 0.5719 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4175, allocations: 0 / 0.5719 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4175, allocations: 0 / 0.5719 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004596/0.418, allocations: 335 kB / 0.5723 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/0.418, allocations: 51.69 kB / 0.5723 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.4181, allocations: 4 kB / 0.5723 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.4182, allocations: 8 kB / 0.5723 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.4182, allocations: 19.91 kB / 0.5723 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.4182, allocations: 8 kB / 0.5723 GB, free: 8.133 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005041/0.4187, allocations: 446.8 kB / 0.5728 GB, free: 7.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4187, allocations: 0 / 0.5728 GB, free: 7.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003446/0.4191, allocations: 51.94 kB / 0.5728 GB, free: 7.648 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.003562/0.4226, allocations: 1.464 MB / 0.5742 GB, free: 6.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.423, allocations: 167.7 kB / 0.5744 GB, free: 6.277 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.423, allocations: 7.938 kB / 0.5744 GB, free: 6.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.4232, allocations: 87.89 kB / 0.5745 GB, free: 6.184 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.4238, allocations: 76.19 kB / 0.5746 GB, free: 6.113 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00496/0.4287, allocations: 3.333 MB / 0.5778 GB, free: 2.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.4293, allocations: 0.826 MB / 0.5786 GB, free: 1.848 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.4294, allocations: 62.23 kB / 0.5787 GB, free: 1.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.4296, allocations: 139.4 kB / 0.5788 GB, free: 1.652 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4296, allocations: 0 / 0.5788 GB, free: 1.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03974/0.4693, allocations: 8.117 MB / 0.5867 GB, free: 9.566 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.91, allocations: 15.98 kB / 0.5868 GB, free: 9.551 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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.110626256093383]