Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001414/0.001414, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.001532/0.001532, allocations: 213.6 kB / 23.74 MB, free: 4.672 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.451/1.451, allocations: 230.5 MB / 257.4 MB, free: 8 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.2838/0.2838, allocations: 46.92 MB / 360.8 MB, free: 4.172 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.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002489/0.002489, allocations: 79.86 kB / 0.4962 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3792, allocations: 66.08 MB / 0.5607 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003759/0.3829, allocations: 2.052 MB / 0.5627 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.3849, allocations: 1.044 MB / 0.5638 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.385, allocations: 0 / 0.5638 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004832/0.3855, allocations: 255.2 kB / 0.564 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005238/0.386, allocations: 267 kB / 0.5643 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.3871, allocations: 495 kB / 0.5647 GB, free: 176 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004506/0.3876, allocations: 338.8 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.3877, allocations: 58.72 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.3879, allocations: 147.4 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.3882, allocations: 219.2 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.3882, allocations: 12 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.3884, allocations: 79.91 kB / 0.5656 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.3885, allocations: 95.59 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.3886, allocations: 134.9 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.3891, allocations: 346.2 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3891, allocations: 3.938 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3891, allocations: 0 / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3891, allocations: 0 / 0.5661 GB, free: 14.76 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.0009017/0.39, allocations: 0.6166 MB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.3901, allocations: 8.031 kB / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.971e-05/0.3901, allocations: 46.73 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.934e-05/0.3902, allocations: 48.61 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.3906, allocations: 268.7 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.3906, allocations: 8.375 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.3906, allocations: 12.38 kB / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.3909, allocations: 107.5 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.3909, allocations: 3.938 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.3909, allocations: 8 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.3909, allocations: 3.938 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.3911, allocations: 75.83 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007602/0.3918, allocations: 479.4 kB / 0.5677 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.392, allocations: 90.48 kB / 0.5678 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.661e-05/0.3921, allocations: 28.84 kB / 0.5678 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.3921, allocations: 7.984 kB / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.3921, allocations: 30.56 kB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.3921, allocations: 0 / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.000998/0.3931, allocations: 406.9 kB / 0.5683 GB, free: 12.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.3932, allocations: 55.41 kB / 0.5683 GB, free: 12.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007119/0.3939, allocations: 0.5877 MB / 0.5689 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.3939, allocations: 29.7 kB / 0.5689 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.3941, allocations: 216.4 kB / 0.5691 GB, free: 11.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.07e-05/0.3942, allocations: 59.48 kB / 0.5692 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-05/0.3942, allocations: 37.7 kB / 0.5692 GB, free: 11.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.3944, allocations: 354.8 kB / 0.5696 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.3945, allocations: 51.91 kB / 0.5696 GB, free: 10.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.3947, allocations: 51.97 kB / 0.5697 GB, free: 10.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.3949, allocations: 119.2 kB / 0.5698 GB, free: 10.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3949, allocations: 0 / 0.5698 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003845/0.3953, allocations: 205.2 kB / 0.57 GB, free: 10.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3953, allocations: 4 kB / 0.57 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3953, allocations: 0 / 0.57 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.3953, allocations: 4 kB / 0.57 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.3955, allocations: 35.92 kB / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3955, allocations: 4 kB / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/0.3956, allocations: 7.984 kB / 0.57 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3956, allocations: 4 kB / 0.57 GB, free: 10.54 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.0001823/0.3958, allocations: 177.8 kB / 0.5702 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/0.3959, allocations: 51.64 kB / 0.5702 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004932/0.3964, allocations: 252 kB / 0.5705 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3964, allocations: 0 / 0.5705 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3964, allocations: 0 / 0.5705 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3964, allocations: 0 / 0.5705 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009185/0.3973, allocations: 0.6144 MB / 0.5711 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3973, allocations: 0 / 0.5711 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.3974, allocations: 35.92 kB / 0.5711 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3974, allocations: 0 / 0.5711 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.3974, allocations: 11.94 kB / 0.5711 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.3974, allocations: 11.92 kB / 0.5711 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3974, allocations: 0 / 0.5711 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.3978, allocations: 307 kB / 0.5714 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.3979, allocations: 43.7 kB / 0.5715 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.3979, allocations: 4 kB / 0.5715 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.398, allocations: 11.98 kB / 0.5715 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.3981, allocations: 11.92 kB / 0.5715 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.3981, allocations: 4 kB / 0.5715 GB, free: 8.938 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005045/0.3986, allocations: 447.1 kB / 0.5719 GB, free: 8.504 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3986, allocations: 0 / 0.5719 GB, free: 8.504 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003328/0.3989, allocations: 55.92 kB / 0.572 GB, free: 8.449 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.003601/0.4025, allocations: 1.415 MB / 0.5734 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.4029, allocations: 138 kB / 0.5735 GB, free: 7.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4029, allocations: 0 / 0.5735 GB, free: 7.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.4031, allocations: 67.91 kB / 0.5736 GB, free: 7.094 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/0.4037, allocations: 76.95 kB / 0.5736 GB, free: 7.023 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004629/0.4083, allocations: 3.162 MB / 0.5767 GB, free: 3.781 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/0.4089, allocations: 0.8182 MB / 0.5775 GB, free: 2.938 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.409, allocations: 50.27 kB / 0.5776 GB, free: 2.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.4093, allocations: 135.4 kB / 0.5777 GB, free: 2.754 MB / 414.1 MB Notification: Performance of SimCode: time 1.382e-06/0.4093, allocations: 0 / 0.5777 GB, free: 2.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.4463, allocations: 7.862 MB / 0.5854 GB, free: 10.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.17, allocations: 14 kB / 0.5854 GB, free: 10.91 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.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.389626159099862]