Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.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.0008672/0.0008672, allocations: 80.44 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008723/0.0008723, allocations: 173.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8221/0.8221, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1245/0.1245, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 406.8 MB, free: 2.242 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.167e-05, allocations: 9.938 kB / 406.9 MB, free: 2.234 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.002618/0.00264, allocations: 1.898 MB / 408.8 MB, free: 328 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008416/0.003482, allocations: 0.6582 MB / 409.4 MB, free: 15.65 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.003591, allocations: 4 kB / 409.4 MB, free: 15.65 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004327/0.004023, allocations: 255.1 kB / 409.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.004344, allocations: 199.2 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006842/0.005028, allocations: 442.9 kB / 410.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.005352, allocations: 294.9 kB / 410.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.005501, allocations: 52.8 kB / 410.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.005665, allocations: 163.6 kB / 410.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.005835, allocations: 187.6 kB / 411 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.005861, allocations: 12 kB / 411 MB, free: 14.07 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.005987, allocations: 71.84 kB / 411.1 MB, free: 14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.006151, allocations: 91.61 kB / 411.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.006202, allocations: 59.72 kB / 411.2 MB, free: 13.86 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.006512, allocations: 302.8 kB / 411.5 MB, free: 13.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.006516, allocations: 0 / 411.5 MB, free: 13.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.006517, allocations: 4 kB / 411.5 MB, free: 13.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.006522, allocations: 0 / 411.5 MB, free: 13.55 MB / 394.7 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.0005559/0.007078, allocations: 0.5817 MB / 412.1 MB, free: 12.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.007117, allocations: 8.031 kB / 412.1 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.212e-05/0.007149, allocations: 46.73 kB / 412.1 MB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.007202, allocations: 40.66 kB / 412.2 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.007434, allocations: 256 kB / 412.4 MB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.007448, allocations: 16.25 kB / 412.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.007471, allocations: 12.38 kB / 412.5 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.007639, allocations: 110.8 kB / 412.6 MB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.007651, allocations: 8.188 kB / 412.6 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.007662, allocations: 7.938 kB / 412.6 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.007667, allocations: 4 kB / 412.6 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.007767, allocations: 71.88 kB / 412.7 MB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.008344, allocations: 443.5 kB / 413.1 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.008468, allocations: 86.48 kB / 413.2 MB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.214e-05/0.00851, allocations: 32.84 kB / 413.2 MB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.008535, allocations: 4 kB / 413.2 MB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.008555, allocations: 34.56 kB / 413.2 MB, free: 11.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.008557, allocations: 4 kB / 413.2 MB, free: 11.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006633/0.00922, allocations: 393 kB / 413.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.009249, allocations: 51.41 kB / 413.7 MB, free: 11.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.009636, allocations: 0.5486 MB / 414.2 MB, free: 10.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.009651, allocations: 29.7 kB / 414.3 MB, free: 10.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.686e-05/0.009748, allocations: 204.5 kB / 414.5 MB, free: 10.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.009791, allocations: 59.5 kB / 414.5 MB, free: 10.37 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.009833, allocations: 37.7 kB / 414.5 MB, free: 10.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.487e-05/0.009928, allocations: 358.7 kB / 414.9 MB, free: 9.965 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.327e-05/0.01, allocations: 47.97 kB / 414.9 MB, free: 9.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.243e-05/0.01006, allocations: 47.98 kB / 415 MB, free: 9.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.01021, allocations: 120.8 kB / 415.1 MB, free: 9.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01021, allocations: 0 / 415.1 MB, free: 9.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002169/0.01043, allocations: 196.7 kB / 415.3 MB, free: 9.555 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.01045, allocations: 12 kB / 415.3 MB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01045, allocations: 0 / 415.3 MB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.01046, allocations: 0 / 415.3 MB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.607e-05/0.01056, allocations: 39.91 kB / 415.4 MB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.01057, allocations: 0 / 415.4 MB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.01061, allocations: 15.94 kB / 415.4 MB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.01062, allocations: 4 kB / 415.4 MB, free: 9.484 MB / 394.7 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.0001149/0.01074, allocations: 173.8 kB / 415.5 MB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.01077, allocations: 43.66 kB / 415.6 MB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.01105, allocations: 237.4 kB / 415.8 MB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01105, allocations: 4 kB / 415.8 MB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01105, allocations: 4 kB / 415.8 MB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01106, allocations: 3.984 kB / 415.8 MB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007763/0.01183, allocations: 0.5676 MB / 416.4 MB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01184, allocations: 0 / 416.4 MB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.87e-05/0.0119, allocations: 31.98 kB / 416.4 MB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.0119, allocations: 4 kB / 416.4 MB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.01191, allocations: 11.98 kB / 416.4 MB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01191, allocations: 0 / 416.4 MB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01191, allocations: 3.938 kB / 416.4 MB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.01213, allocations: 302.5 kB / 416.7 MB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.01217, allocations: 39.75 kB / 416.8 MB, free: 8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.01219, allocations: 4 kB / 416.8 MB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.425e-05/0.01224, allocations: 11.98 kB / 416.8 MB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.01229, allocations: 11.98 kB / 416.8 MB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.0123, allocations: 11.98 kB / 416.8 MB, free: 7.961 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002752/0.01257, allocations: 411 kB / 417.2 MB, free: 7.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01257, allocations: 4 kB / 417.2 MB, free: 7.555 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002187/0.01279, allocations: 47.92 kB / 417.3 MB, free: 7.508 MB / 394.7 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.001479/0.01427, allocations: 1.478 MB / 418.8 MB, free: 6.031 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.01448, allocations: 135.8 kB / 418.9 MB, free: 5.898 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01449, allocations: 0 / 418.9 MB, free: 5.898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.427e-05/0.01456, allocations: 67.91 kB / 418.9 MB, free: 5.832 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.01497, allocations: 74.02 kB / 419 MB, free: 5.762 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.01759, allocations: 3.07 MB / 422.1 MB, free: 2.602 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.01772, allocations: 199.5 kB / 422.3 MB, free: 2.387 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.01783, allocations: 53.89 kB / 422.3 MB, free: 2.332 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.01794, allocations: 128.4 kB / 422.5 MB, free: 2.207 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01794, allocations: 4 kB / 422.5 MB, free: 2.203 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.03704, allocations: 8.065 MB / 430.5 MB, free: 10 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.605/6.642, allocations: 4.062 kB / 430.5 MB, free: 10 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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: 8.565023724921048]