Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.001661/0.001661, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002056/0.002056, allocations: 212.4 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.236/0.236, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 67.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3227, allocations: 66.04 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003027/0.3258, allocations: 1.684 MB / 0.5623 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.3268, allocations: 0.5738 MB / 0.5628 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.3269, allocations: 0 / 0.5628 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.327, allocations: 31.78 kB / 0.5628 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.3273, allocations: 83.61 kB / 0.5629 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.3277, allocations: 174.8 kB / 0.5631 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.3279, allocations: 103.7 kB / 0.5632 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.704e-05/0.3279, allocations: 17.81 kB / 0.5632 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.568e-05/0.328, allocations: 43.83 kB / 0.5633 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.881e-05/0.3281, allocations: 43.72 kB / 0.5633 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.3281, allocations: 8 kB / 0.5633 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.3283, allocations: 95.94 kB / 0.5634 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.3283, allocations: 23.91 kB / 0.5634 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.3284, allocations: 31.8 kB / 0.5634 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.3287, allocations: 179.3 kB / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3287, allocations: 0 / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3287, allocations: 0 / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3287, allocations: 4 kB / 0.5636 GB, free: 1.141 MB / 398.1 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.0006263/0.3293, allocations: 373.4 kB / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3293, allocations: 12.03 kB / 0.564 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.3294, allocations: 34.75 kB / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.3294, allocations: 8.891 kB / 0.564 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.3296, allocations: 150.3 kB / 0.5642 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.3296, allocations: 4.375 kB / 0.5642 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.3296, allocations: 4.359 kB / 0.5642 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.3299, allocations: 136.9 kB / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3299, allocations: 0 / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.33, allocations: 0 / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.33, allocations: 0 / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.3303, allocations: 71.92 kB / 0.5644 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005975/0.3309, allocations: 311.8 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.3311, allocations: 70.52 kB / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.3313, allocations: 44.95 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.3313, allocations: 3.984 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.3313, allocations: 38.56 kB / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3313, allocations: 0 / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.00165/0.333, allocations: 412.9 kB / 0.5652 GB, free: 15.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.333, allocations: 81.05 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.3332, allocations: 166.2 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.3332, allocations: 25.7 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.3333, allocations: 104.2 kB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.3333, allocations: 35.72 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.3334, allocations: 29.72 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3336, allocations: 322.8 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.3339, allocations: 79.91 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003239/0.3342, allocations: 119.3 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/0.3348, allocations: 168.6 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3348, allocations: 288 / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007012/0.3355, allocations: 213.4 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3355, allocations: 8 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3355, allocations: 0 / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3355, allocations: 0 / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.3357, allocations: 43.95 kB / 0.5666 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3357, allocations: 3.938 kB / 0.5666 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.3359, allocations: 31.91 kB / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3359, allocations: 4.375 kB / 0.5666 GB, free: 13.86 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 (10): * Single equations (assignments): 10 * 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.0001134/0.336, allocations: 121.8 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.3361, allocations: 11.89 kB / 0.5667 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007292/0.3368, allocations: 218.2 kB / 0.5669 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3368, allocations: 4 kB / 0.5669 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3368, allocations: 7.938 kB / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3368, allocations: 3.984 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.3378, allocations: 481.3 kB / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3378, allocations: 0 / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.338, allocations: 39.89 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.338, allocations: 0 / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.338, allocations: 8 kB / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.338, allocations: 0 / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.338, allocations: 0 / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007023/0.3387, allocations: 303.4 kB / 0.5677 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.3388, allocations: 27.83 kB / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.3388, allocations: 0 / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.339, allocations: 27.97 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.339, allocations: 7.984 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.3391, allocations: 3.984 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.3392, allocations: 132.1 kB / 0.5679 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3392, allocations: 0 / 0.5679 GB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003154/0.3395, allocations: 51.86 kB / 0.568 GB, free: 12.36 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 (9): * Single equations (assignments): 9 * 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.002773/0.3423, allocations: 1.274 MB / 0.5692 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006746/0.3429, allocations: 167.8 kB / 0.5694 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3429, allocations: 3.938 kB / 0.5694 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.3433, allocations: 79.92 kB / 0.5695 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.3436, allocations: 35.58 kB / 0.5695 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.3471, allocations: 1.936 MB / 0.5714 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.3472, allocations: 96.81 kB / 0.5715 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001443/0.3474, allocations: 32.56 kB / 0.5715 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.3475, allocations: 43.34 kB / 0.5716 GB, free: 8.805 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3475, allocations: 4.375 kB / 0.5716 GB, free: 8.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03287/0.3803, allocations: 5.08 MB / 0.5765 GB, free: 3.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.63, allocations: 15.41 kB / 0.5765 GB, free: 3.742 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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: 14.667168603744358]