Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001372/0.001372, 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.001875/0.001875, allocations: 209.7 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2328/0.2328, allocations: 46.95 MB / 360.9 MB, free: 4.039 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.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3333, allocations: 66.04 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003427/0.3367, allocations: 1.975 MB / 0.5625 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002298/0.339, allocations: 1.295 MB / 0.5638 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.3391, allocations: 7.938 kB / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.3394, allocations: 63.48 kB / 0.5639 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004843/0.3399, allocations: 207.2 kB / 0.5641 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.3412, allocations: 0.607 MB / 0.5647 GB, free: 72 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004253/0.3416, allocations: 323 kB / 0.565 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.3418, allocations: 56.88 kB / 0.565 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.342, allocations: 135.4 kB / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.3423, allocations: 199.2 kB / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.3423, allocations: 20 kB / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.3424, allocations: 63.92 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.3426, allocations: 151.5 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.3427, allocations: 130.9 kB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005094/0.3433, allocations: 423.9 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3433, allocations: 0 / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3433, allocations: 0 / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.3433, allocations: 0 / 0.5661 GB, free: 14.59 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.001125/0.3444, allocations: 0.7562 MB / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3444, allocations: 12.03 kB / 0.5668 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.632e-05/0.3445, allocations: 50.67 kB / 0.5669 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.3448, allocations: 80.48 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007442/0.3455, allocations: 427.2 kB / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.3455, allocations: 8.375 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.3456, allocations: 19.94 kB / 0.5674 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.3459, allocations: 139 kB / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.3459, allocations: 0 / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.3459, allocations: 8 kB / 0.5675 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.3459, allocations: 4 kB / 0.5675 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.3462, allocations: 95.86 kB / 0.5676 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.3473, allocations: 0.6478 MB / 0.5683 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.3475, allocations: 117.2 kB / 0.5684 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3476, allocations: 45.81 kB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.3476, allocations: 7.938 kB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.3477, allocations: 34.56 kB / 0.5685 GB, free: 12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.3477, allocations: 4 kB / 0.5685 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.00144/0.3491, allocations: 0.5618 MB / 0.569 GB, free: 11.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.3492, allocations: 81.11 kB / 0.5691 GB, free: 11.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.3502, allocations: 0.9299 MB / 0.57 GB, free: 10.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.3503, allocations: 33.7 kB / 0.57 GB, free: 10.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.3505, allocations: 272.3 kB / 0.5703 GB, free: 10.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.115e-05/0.3506, allocations: 63.47 kB / 0.5704 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.3506, allocations: 33.7 kB / 0.5704 GB, free: 9.977 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3508, allocations: 321.9 kB / 0.5707 GB, free: 9.656 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.3509, allocations: 59.89 kB / 0.5708 GB, free: 9.598 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.3511, allocations: 85.66 kB / 0.5708 GB, free: 9.508 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.3515, allocations: 153.6 kB / 0.571 GB, free: 9.352 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.3515, allocations: 0 / 0.571 GB, free: 9.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005754/0.3521, allocations: 245.4 kB / 0.5712 GB, free: 9.105 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.3521, allocations: 7.984 kB / 0.5712 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.3521, allocations: 0 / 0.5712 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3521, allocations: 4 kB / 0.5712 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.3523, allocations: 39.97 kB / 0.5713 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.3524, allocations: 4.062 kB / 0.5713 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.3525, allocations: 16.95 kB / 0.5713 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.3525, allocations: 4 kB / 0.5713 GB, free: 9.031 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.0002427/0.3528, allocations: 225.6 kB / 0.5715 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.3529, allocations: 63.56 kB / 0.5716 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006457/0.3535, allocations: 286.7 kB / 0.5718 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.3535, allocations: 4 kB / 0.5718 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3535, allocations: 0 / 0.5718 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3535, allocations: 3.984 kB / 0.5718 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.3548, allocations: 0.762 MB / 0.5726 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3548, allocations: 0 / 0.5726 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.355, allocations: 43.91 kB / 0.5726 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.355, allocations: 4 kB / 0.5726 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.355, allocations: 0 / 0.5726 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.355, allocations: 7.922 kB / 0.5726 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.355, allocations: 4 kB / 0.5726 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006/0.3556, allocations: 418.6 kB / 0.573 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.3558, allocations: 75.59 kB / 0.5731 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.3558, allocations: 4 kB / 0.5731 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.356, allocations: 27.86 kB / 0.5731 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.3561, allocations: 11.97 kB / 0.5732 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.3561, allocations: 8 kB / 0.5732 GB, free: 7.016 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008177/0.3569, allocations: 0.6786 MB / 0.5738 GB, free: 6.344 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3569, allocations: 0 / 0.5738 GB, free: 6.344 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003554/0.3573, allocations: 55.94 kB / 0.5739 GB, free: 6.289 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.00243/0.3597, allocations: 1.296 MB / 0.5752 GB, free: 5.152 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004513/0.3601, allocations: 159.8 kB / 0.5753 GB, free: 4.996 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3601, allocations: 0 / 0.5753 GB, free: 4.996 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.3603, allocations: 79.89 kB / 0.5754 GB, free: 4.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.3609, allocations: 74.89 kB / 0.5755 GB, free: 4.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006784/0.3677, allocations: 5.197 MB / 0.5805 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.368, allocations: 277.9 kB / 0.5808 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002474/0.3682, allocations: 99.83 kB / 0.5809 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.3685, allocations: 179.4 kB / 0.5811 GB, free: 14.99 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3685, allocations: 0 / 0.5811 GB, free: 14.99 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03965/0.4082, allocations: 10.93 MB / 0.5917 GB, free: 4.121 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.68, allocations: 0 / 0.5917 GB, free: 4.121 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.773272572085261]