Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.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.0007833/0.0007833, 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.0007671/0.0007671, allocations: 170.3 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.8715/0.8715, allocations: 158.6 MB / 185 MB, free: 3.047 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.1335/0.1335, allocations: 32.38 MB / 269.6 MB, free: 14.97 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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 406.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.519e-05/1.674e-05, allocations: 6.219 kB / 406.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.002178/0.002195, allocations: 1.894 MB / 408.8 MB, free: 320 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.003225, allocations: 0.9397 MB / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.003296, allocations: 0 / 409.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.003503, allocations: 47.53 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.003787, allocations: 155.2 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.00428, allocations: 383.3 kB / 410.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.004503, allocations: 267.1 kB / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.004629, allocations: 48.36 kB / 410.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.004779, allocations: 151.5 kB / 410.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.004938, allocations: 167.6 kB / 410.9 MB, free: 14.17 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.004962, allocations: 12 kB / 410.9 MB, free: 14.16 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.841e-05/0.00503, allocations: 39.98 kB / 410.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.005133, allocations: 139.5 kB / 411.1 MB, free: 13.98 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.901e-05/0.005192, allocations: 83.64 kB / 411.2 MB, free: 13.9 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.005456, allocations: 362.6 kB / 411.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005458, allocations: 0 / 411.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.005459, allocations: 0 / 411.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.005464, allocations: 0 / 411.5 MB, free: 13.54 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006415/0.006105, allocations: 0.6981 MB / 412.2 MB, free: 12.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.00614, allocations: 12.03 kB / 412.2 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.00617, allocations: 38.73 kB / 412.3 MB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.006222, allocations: 56.56 kB / 412.3 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.006547, allocations: 401.7 kB / 412.7 MB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.00656, allocations: 8.375 kB / 412.7 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.006584, allocations: 20.33 kB / 412.7 MB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.00677, allocations: 139.5 kB / 412.9 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.006781, allocations: 7.938 kB / 412.9 MB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.00679, allocations: 0 / 412.9 MB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.006795, allocations: 3.984 kB / 412.9 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.00691, allocations: 79.89 kB / 413 MB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005665/0.007476, allocations: 0.6128 MB / 413.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.007616, allocations: 105.2 kB / 413.7 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.00767, allocations: 41.83 kB / 413.7 MB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.007693, allocations: 7.984 kB / 413.7 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.007711, allocations: 30.56 kB / 413.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 8.12e-07/0.007712, allocations: 0 / 413.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007799/0.008492, allocations: 0.5152 MB / 414.3 MB, free: 10.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.008536, allocations: 85.11 kB / 414.3 MB, free: 10.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/0.009152, allocations: 0.8778 MB / 415.2 MB, free: 9.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.009168, allocations: 25.7 kB / 415.3 MB, free: 9.594 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.009297, allocations: 248.4 kB / 415.5 MB, free: 9.344 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.009336, allocations: 59.52 kB / 415.6 MB, free: 9.285 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.009377, allocations: 29.7 kB / 415.6 MB, free: 9.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.009485, allocations: 370.8 kB / 415.9 MB, free: 8.879 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-05/0.009575, allocations: 60.19 kB / 416 MB, free: 8.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.425e-05/0.009669, allocations: 73.67 kB / 416.1 MB, free: 8.742 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.009844, allocations: 141.7 kB / 416.2 MB, free: 8.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.009846, allocations: 0 / 416.2 MB, free: 8.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002536/0.0101, allocations: 233 kB / 416.4 MB, free: 8.363 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.01011, allocations: 4 kB / 416.4 MB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.01012, allocations: 3.984 kB / 416.4 MB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.01013, allocations: 4 kB / 416.5 MB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.01024, allocations: 39.97 kB / 416.5 MB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.01024, allocations: 0 / 416.5 MB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.0103, allocations: 8 kB / 416.5 MB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.01031, allocations: 12.73 kB / 416.5 MB, free: 8.293 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0001342/0.01045, allocations: 205.7 kB / 416.7 MB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.0105, allocations: 63.56 kB / 416.8 MB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.01082, allocations: 274.1 kB / 417 MB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01082, allocations: 4 kB / 417 MB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.01082, allocations: 0 / 417 MB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01083, allocations: 3.984 kB / 417 MB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006289/0.01146, allocations: 0.7076 MB / 417.8 MB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01146, allocations: 0 / 417.8 MB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.01153, allocations: 35.97 kB / 417.8 MB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01153, allocations: 0 / 417.8 MB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.01155, allocations: 15.92 kB / 417.8 MB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01155, allocations: 0 / 417.8 MB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01155, allocations: 0 / 417.8 MB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.01183, allocations: 398.3 kB / 418.2 MB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/0.0119, allocations: 75.59 kB / 418.3 MB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.01192, allocations: 4 kB / 418.3 MB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.004e-05/0.01201, allocations: 11.98 kB / 418.3 MB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.01205, allocations: 23.91 kB / 418.3 MB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.01206, allocations: 7.938 kB / 418.3 MB, free: 6.398 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000423/0.01248, allocations: 0.6355 MB / 419 MB, free: 5.766 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01248, allocations: 0 / 419 MB, free: 5.766 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002272/0.01271, allocations: 63.92 kB / 419 MB, free: 5.703 MB / 394.7 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 (16): * Single equations (assignments): 16 * 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.0009898/0.0137, allocations: 1.261 MB / 420.3 MB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.01392, allocations: 131.9 kB / 420.4 MB, free: 4.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01392, allocations: 4 kB / 420.4 MB, free: 4.316 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.056e-05/0.01401, allocations: 71.89 kB / 420.5 MB, free: 4.246 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.01437, allocations: 87.36 kB / 420.6 MB, free: 4.164 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/0.01821, allocations: 4.987 MB / 425.6 MB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.0184, allocations: 245.1 kB / 425.8 MB, free: 14.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000101/0.0185, allocations: 79.23 kB / 425.9 MB, free: 14.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.01864, allocations: 172.4 kB / 426 MB, free: 14.57 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.01864, allocations: 0 / 426 MB, free: 14.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.03865, allocations: 10.48 MB / 436.5 MB, free: 3.953 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.675/6.714, allocations: 12 kB / 436.5 MB, free: 3.941 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.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.723972900770605]