Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.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.0008749/0.0008749, allocations: 80.48 kB / 19.92 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.001019/0.001019, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8491/0.8491, allocations: 158.6 MB / 185 MB, free: 3.023 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.1364/0.1364, allocations: 32.37 MB / 269.6 MB, free: 14.95 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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 406.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.042e-05, allocations: 6.078 kB / 406.9 MB, free: 2.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.002135/0.002156, allocations: 1.603 MB / 408.5 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009512/0.003107, allocations: 1.029 MB / 409.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.003146, allocations: 0 / 409.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.003313, allocations: 31.73 kB / 409.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.003487, allocations: 43.72 kB / 409.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.003675, allocations: 103.8 kB / 409.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.00378, allocations: 67.7 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.62e-05/0.003867, allocations: 24.11 kB / 409.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.003919, allocations: 35.91 kB / 409.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.192e-05/0.003991, allocations: 23.91 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.004005, allocations: 4 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.694e-05/0.004082, allocations: 47.91 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.004131, allocations: 11.98 kB / 409.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.004154, allocations: 23.88 kB / 409.9 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.004297, allocations: 107.7 kB / 410 MB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.004298, allocations: 0 / 410 MB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004299, allocations: 0 / 410 MB, free: 15.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.004302, allocations: 0 / 410 MB, free: 15.06 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003522/0.004655, allocations: 325.7 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.004688, allocations: 8.031 kB / 410.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.718e-05/0.004715, allocations: 42.73 kB / 410.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.00474, allocations: 8.891 kB / 410.4 MB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.00487, allocations: 133.6 kB / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.004878, allocations: 384 / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.004894, allocations: 4.375 kB / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.005018, allocations: 93.66 kB / 410.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.005029, allocations: 15.92 kB / 410.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.005036, allocations: 7.938 kB / 410.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.00504, allocations: 0 / 410.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.955e-05/0.005109, allocations: 31.97 kB / 410.7 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002434/0.005353, allocations: 247.9 kB / 410.9 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.394e-05/0.005427, allocations: 46.53 kB / 410.9 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.567e-05/0.005462, allocations: 24.88 kB / 411 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.005481, allocations: 4 kB / 411 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.005498, allocations: 34.56 kB / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.005499, allocations: 0 / 411 MB, free: 13.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005449/0.006044, allocations: 213.3 kB / 411.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.006078, allocations: 77.11 kB / 411.3 MB, free: 13.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.281e-05/0.00617, allocations: 134.1 kB / 411.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.00618, allocations: 33.7 kB / 411.5 MB, free: 13.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.006216, allocations: 92.14 kB / 411.5 MB, free: 13.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.006233, allocations: 23.78 kB / 411.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.006261, allocations: 21.72 kB / 411.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.818e-05/0.006329, allocations: 322.8 kB / 411.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.657e-05/0.006386, allocations: 35.97 kB / 411.9 MB, free: 12.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.469e-05/0.00645, allocations: 71.47 kB / 412 MB, free: 12.83 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.00656, allocations: 80.98 kB / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.006561, allocations: 0 / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001347/0.006695, allocations: 113.5 kB / 412.2 MB, free: 12.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.006707, allocations: 8 kB / 412.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.00671, allocations: 3.938 kB / 412.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.006719, allocations: 0 / 412.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.455e-05/0.006784, allocations: 19.98 kB / 412.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.006788, allocations: 4 kB / 412.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/0.00682, allocations: 11.94 kB / 412.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.006826, allocations: 7.938 kB / 412.3 MB, free: 12.58 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 (7): * Single equations (assignments): 7 * 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.0002881/0.007114, allocations: 121.8 kB / 412.4 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.007132, allocations: 11.94 kB / 412.4 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.007298, allocations: 126.3 kB / 412.5 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.0073, allocations: 0 / 412.5 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.007303, allocations: 4 kB / 412.5 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.007306, allocations: 0 / 412.5 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.007596, allocations: 345.6 kB / 412.8 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007597, allocations: 0 / 412.8 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.734e-05/0.007635, allocations: 23.92 kB / 412.9 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.007636, allocations: 0 / 412.9 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.007643, allocations: 7.984 kB / 412.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007644, allocations: 0 / 412.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.007645, allocations: 3.938 kB / 412.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.007794, allocations: 203.5 kB / 413.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.007804, allocations: 11.95 kB / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.007814, allocations: 0 / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.615e-05/0.00786, allocations: 11.98 kB / 413.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.00789, allocations: 15.92 kB / 413.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.007894, allocations: 4 kB / 413.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.058e-05/0.007944, allocations: 110.9 kB / 413.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007944, allocations: 0 / 413.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001737/0.008118, allocations: 31.88 kB / 413.3 MB, free: 11.49 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 (7): * Single equations (assignments): 7 * 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.0008835/0.009001, allocations: 1.099 MB / 414.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.009159, allocations: 83.86 kB / 414.4 MB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.00916, allocations: 0 / 414.4 MB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.821e-05/0.009218, allocations: 39.97 kB / 414.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.009535, allocations: 23.92 kB / 414.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.0108, allocations: 1.542 MB / 416.1 MB, free: 8.625 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.07e-05/0.01085, allocations: 83.33 kB / 416.1 MB, free: 8.523 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.019e-05/0.0109, allocations: 17.19 kB / 416.1 MB, free: 8.508 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.01095, allocations: 28.48 kB / 416.2 MB, free: 8.48 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.01095, allocations: 3.938 kB / 416.2 MB, free: 8.477 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.0258, allocations: 3.815 MB / 420 MB, free: 4.516 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.576/6.602, allocations: 11.88 kB / 420 MB, free: 4.504 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.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.556221147999167]