Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.00177/0.00177, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001938/0.001938, allocations: 209.3 kB / 23.74 MB, free: 4.672 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.417/1.417, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2251/0.2251, allocations: 46.94 MB / 360.9 MB, free: 4.273 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.89 kB / 0.4962 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.351, allocations: 66.04 MB / 0.5607 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003211/0.3542, allocations: 1.691 MB / 0.5623 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3552, allocations: 0.5737 MB / 0.5629 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.3553, allocations: 0 / 0.5629 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000588/0.3559, allocations: 459.1 kB / 0.5633 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004444/0.3563, allocations: 291.3 kB / 0.5636 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.3567, allocations: 131.1 kB / 0.5637 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.3569, allocations: 179.6 kB / 0.5639 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.357, allocations: 17.83 kB / 0.5639 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.3571, allocations: 115.6 kB / 0.564 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.3574, allocations: 247.5 kB / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.3574, allocations: 4 kB / 0.5643 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3575, allocations: 47.98 kB / 0.5643 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.3577, allocations: 87.67 kB / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.67e-05/0.3577, allocations: 106.9 kB / 0.5645 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.3581, allocations: 294.4 kB / 0.5648 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3581, allocations: 0 / 0.5648 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3581, allocations: 0 / 0.5648 GB, free: 260 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3581, allocations: 0 / 0.5648 GB, free: 260 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008353/0.3589, allocations: 0.5892 MB / 0.5654 GB, free: 15.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.359, allocations: 8.031 kB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.114e-05/0.359, allocations: 42.73 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.3591, allocations: 44.66 kB / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.3594, allocations: 242.8 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3594, allocations: 8.312 kB / 0.5657 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.3594, allocations: 12.38 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3596, allocations: 57.61 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3596, allocations: 0 / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3596, allocations: 4 kB / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.3596, allocations: 0 / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.564e-05/0.3597, allocations: 23.98 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.3603, allocations: 375.7 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.3604, allocations: 42.56 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.3604, allocations: 16.94 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.3605, allocations: 11.97 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.3605, allocations: 30.56 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3605, allocations: 0 / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009865/0.3615, allocations: 320.8 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.3615, allocations: 55.34 kB / 0.5666 GB, free: 14.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000962/0.3625, allocations: 0.8777 MB / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3625, allocations: 25.7 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.3627, allocations: 228.1 kB / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.3627, allocations: 35.67 kB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.3628, allocations: 17.72 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.363, allocations: 366.8 kB / 0.5681 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.678e-05/0.3631, allocations: 19.98 kB / 0.5681 GB, free: 12.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-05/0.3631, allocations: 27.98 kB / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.3633, allocations: 72.77 kB / 0.5682 GB, free: 12.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3633, allocations: 0 / 0.5682 GB, free: 12.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002564/0.3636, allocations: 137.4 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3636, allocations: 4 kB / 0.5683 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3636, allocations: 4 kB / 0.5684 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3636, allocations: 0 / 0.5684 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.3637, allocations: 19.92 kB / 0.5684 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3637, allocations: 0 / 0.5684 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/0.3638, allocations: 4 kB / 0.5684 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.3638, allocations: 8 kB / 0.5684 GB, free: 12.37 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 (8): * Single equations (assignments): 8 * 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.0002169/0.364, allocations: 217.7 kB / 0.5686 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.359e-05/0.3641, allocations: 47.67 kB / 0.5686 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/0.3645, allocations: 161.9 kB / 0.5688 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3645, allocations: 3.938 kB / 0.5688 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3645, allocations: 0 / 0.5688 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3645, allocations: 4 kB / 0.5688 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006659/0.3651, allocations: 482.2 kB / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3651, allocations: 0 / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-05/0.3652, allocations: 19.98 kB / 0.5693 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3652, allocations: 0 / 0.5693 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3652, allocations: 11.94 kB / 0.5693 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3652, allocations: 0 / 0.5693 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3652, allocations: 4.031 kB / 0.5693 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.3655, allocations: 240 kB / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.3656, allocations: 39.7 kB / 0.5696 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.3656, allocations: 4 kB / 0.5696 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-05/0.3657, allocations: 4 kB / 0.5696 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.3657, allocations: 7.984 kB / 0.5696 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.3658, allocations: 4 kB / 0.5696 GB, free: 11.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006647/0.3664, allocations: 0.6628 MB / 0.5702 GB, free: 10.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3664, allocations: 3.938 kB / 0.5702 GB, free: 10.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.3667, allocations: 31.94 kB / 0.5703 GB, free: 10.35 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 (8): * Single equations (assignments): 8 * 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.002252/0.3689, allocations: 1.139 MB / 0.5714 GB, free: 9.367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.3692, allocations: 67.89 kB / 0.5714 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3692, allocations: 0 / 0.5714 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.189e-05/0.3693, allocations: 31.98 kB / 0.5715 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.3697, allocations: 32.73 kB / 0.5715 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/0.3737, allocations: 3.341 MB / 0.5748 GB, free: 5.801 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.3742, allocations: 0.8226 MB / 0.5756 GB, free: 4.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.14e-05/0.3743, allocations: 16.42 kB / 0.5756 GB, free: 4.938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.3744, allocations: 107.4 kB / 0.5757 GB, free: 4.832 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3744, allocations: 4 kB / 0.5757 GB, free: 4.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.4074, allocations: 6.567 MB / 0.5821 GB, free: 14.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.97, allocations: 8 kB / 0.5821 GB, free: 14.32 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.94462187611498]