Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001296/0.001296, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00144/0.00144, allocations: 203.3 kB / 23.73 MB, free: 4.379 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.437/1.437, 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.2258/0.2258, allocations: 46.96 MB / 360.9 MB, free: 4.051 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.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 72.08 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3332, allocations: 66.03 MB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003578/0.3368, allocations: 1.974 MB / 0.5625 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.3389, allocations: 1.19 MB / 0.5637 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.339, allocations: 4 kB / 0.5637 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.3393, allocations: 55.5 kB / 0.5637 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000499/0.3398, allocations: 203.2 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009434/0.3407, allocations: 438.2 kB / 0.5644 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.3411, allocations: 303 kB / 0.5646 GB, free: 112 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.3412, allocations: 52.88 kB / 0.5647 GB, free: 56 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.3415, allocations: 135.5 kB / 0.5648 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.3417, allocations: 199.3 kB / 0.565 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.3417, allocations: 16 kB / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.3419, allocations: 63.84 kB / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.342, allocations: 155.4 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.3422, allocations: 127 kB / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004446/0.3426, allocations: 403.9 kB / 0.5657 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3426, allocations: 4 kB / 0.5658 GB, free: 14.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3426, allocations: 3.938 kB / 0.5658 GB, free: 14.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3426, allocations: 0 / 0.5658 GB, free: 14.97 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.00104/0.3437, allocations: 0.7524 MB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3437, allocations: 8.031 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.364e-05/0.3438, allocations: 42.73 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002709/0.344, allocations: 76.5 kB / 0.5666 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006767/0.3447, allocations: 414.4 kB / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.3447, allocations: 12.31 kB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.3447, allocations: 15.94 kB / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.345, allocations: 125 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.345, allocations: 4 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.345, allocations: 4 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.345, allocations: 4 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.3452, allocations: 79.81 kB / 0.5672 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009303/0.3462, allocations: 0.6284 MB / 0.5679 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.3464, allocations: 105.2 kB / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.99e-05/0.3465, allocations: 49.81 kB / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.3465, allocations: 3.938 kB / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3465, allocations: 38.56 kB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.3465, allocations: 0 / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001383/0.3479, allocations: 0.531 MB / 0.5686 GB, free: 11.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.348, allocations: 85.11 kB / 0.5686 GB, free: 11.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.349, allocations: 0.922 MB / 0.5695 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.3491, allocations: 25.7 kB / 0.5696 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.3493, allocations: 272.3 kB / 0.5698 GB, free: 10.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.3493, allocations: 51.52 kB / 0.5699 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.3494, allocations: 33.7 kB / 0.5699 GB, free: 10.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002977/0.3497, allocations: 378.7 kB / 0.5703 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.3499, allocations: 55.95 kB / 0.5703 GB, free: 10.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.35, allocations: 73.67 kB / 0.5704 GB, free: 9.988 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.3503, allocations: 137.6 kB / 0.5705 GB, free: 9.848 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.3503, allocations: 3.938 kB / 0.5705 GB, free: 9.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004688/0.3508, allocations: 225.1 kB / 0.5707 GB, free: 9.617 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3508, allocations: 8 kB / 0.5708 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3508, allocations: 4 kB / 0.5708 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3508, allocations: 0 / 0.5708 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.3511, allocations: 39.97 kB / 0.5708 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3511, allocations: 0 / 0.5708 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.3512, allocations: 15.92 kB / 0.5708 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.3512, allocations: 8 kB / 0.5708 GB, free: 9.543 MB / 414.1 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.0002156/0.3514, allocations: 217.6 kB / 0.571 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.3515, allocations: 63.58 kB / 0.5711 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005821/0.3521, allocations: 266.9 kB / 0.5713 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3521, allocations: 4 kB / 0.5713 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3521, allocations: 0 / 0.5713 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3521, allocations: 0 / 0.5713 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.3533, allocations: 0.727 MB / 0.5721 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3533, allocations: 384 / 0.5721 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.3535, allocations: 43.91 kB / 0.5721 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3535, allocations: 0 / 0.5721 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.3535, allocations: 8 kB / 0.5721 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3535, allocations: 3.938 kB / 0.5721 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3535, allocations: 0 / 0.5721 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005821/0.3541, allocations: 406.3 kB / 0.5725 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.3543, allocations: 75.58 kB / 0.5726 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.678e-05/0.3543, allocations: 8 kB / 0.5726 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.3545, allocations: 15.92 kB / 0.5726 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.3546, allocations: 11.98 kB / 0.5726 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3546, allocations: 7.984 kB / 0.5726 GB, free: 7.617 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008172/0.3554, allocations: 0.6708 MB / 0.5733 GB, free: 6.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3554, allocations: 0 / 0.5733 GB, free: 6.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003554/0.3558, allocations: 55.98 kB / 0.5733 GB, free: 6.895 MB / 414.1 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.002362/0.3581, allocations: 1.274 MB / 0.5746 GB, free: 5.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004259/0.3586, allocations: 143.8 kB / 0.5747 GB, free: 5.641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3586, allocations: 0 / 0.5747 GB, free: 5.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.3588, allocations: 75.89 kB / 0.5748 GB, free: 5.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006389/0.3594, allocations: 82.53 kB / 0.5748 GB, free: 5.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006942/0.3663, allocations: 5.055 MB / 0.5798 GB, free: 356 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.3666, allocations: 261.3 kB / 0.58 GB, free: 72 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002176/0.3668, allocations: 75.91 kB / 0.5801 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.3671, allocations: 175.3 kB / 0.5803 GB, free: 15.82 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3671, allocations: 0 / 0.5803 GB, free: 15.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04011/0.4072, allocations: 10.76 MB / 0.5908 GB, free: 5.129 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.36, allocations: 0 / 0.5908 GB, free: 5.129 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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: 14.431574846996227]