Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.001892/0.001892, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001933/0.001933, allocations: 212.3 kB / 23.73 MB, free: 4.16 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2416/0.2416, allocations: 44.94 MB / 358.8 MB, free: 6.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 63.89 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.317, allocations: 65.48 MB / 0.557 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003266/0.3203, allocations: 1.644 MB / 0.5586 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.3223, allocations: 1.24 MB / 0.5598 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.3223, allocations: 11.94 kB / 0.5598 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.3225, allocations: 27.78 kB / 0.5598 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.3229, allocations: 83.62 kB / 0.5599 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.3232, allocations: 131.6 kB / 0.56 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.3234, allocations: 71.83 kB / 0.5601 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3235, allocations: 13.81 kB / 0.5601 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.563e-05/0.3236, allocations: 35.86 kB / 0.5602 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.3237, allocations: 31.83 kB / 0.5602 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.3237, allocations: 8 kB / 0.5602 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.3239, allocations: 91.88 kB / 0.5603 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.3239, allocations: 23.92 kB / 0.5603 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.324, allocations: 15.88 kB / 0.5603 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.3242, allocations: 151.4 kB / 0.5605 GB, free: 3.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3242, allocations: 4 kB / 0.5605 GB, free: 3.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3242, allocations: 0 / 0.5605 GB, free: 3.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.3243, allocations: 0 / 0.5605 GB, free: 3.941 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.0005508/0.3248, allocations: 349.5 kB / 0.5608 GB, free: 3.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3248, allocations: 12.03 kB / 0.5608 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.3249, allocations: 34.75 kB / 0.5609 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.3249, allocations: 16.88 kB / 0.5609 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.3251, allocations: 138.4 kB / 0.561 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.3251, allocations: 384 / 0.561 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.3252, allocations: 8.328 kB / 0.561 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.3254, allocations: 105 kB / 0.5611 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3254, allocations: 0 / 0.5611 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.3254, allocations: 4 kB / 0.5611 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3254, allocations: 4 kB / 0.5611 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.3255, allocations: 35.97 kB / 0.5612 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.3259, allocations: 251.9 kB / 0.5614 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.326, allocations: 46.48 kB / 0.5614 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.454e-05/0.3261, allocations: 24.94 kB / 0.5615 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3261, allocations: 0 / 0.5615 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3262, allocations: 34.56 kB / 0.5615 GB, free: 2.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3262, allocations: 0 / 0.5615 GB, free: 2.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007984/0.327, allocations: 213.2 kB / 0.5617 GB, free: 2.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.327, allocations: 81.17 kB / 0.5618 GB, free: 2.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.3272, allocations: 156.2 kB / 0.5619 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.3272, allocations: 29.7 kB / 0.5619 GB, free: 2.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.895e-05/0.3273, allocations: 100.1 kB / 0.562 GB, free: 2.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.3273, allocations: 31.69 kB / 0.5621 GB, free: 2.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.3274, allocations: 25.7 kB / 0.5621 GB, free: 2.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3276, allocations: 314.8 kB / 0.5624 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.3277, allocations: 31.97 kB / 0.5624 GB, free: 1.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.3278, allocations: 71.39 kB / 0.5625 GB, free: 1.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.328, allocations: 80.77 kB / 0.5626 GB, free: 1.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.328, allocations: 0 / 0.5626 GB, free: 1.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002986/0.3283, allocations: 113.6 kB / 0.5627 GB, free: 1.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3283, allocations: 4 kB / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3284, allocations: 3.938 kB / 0.5627 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3284, allocations: 288 / 0.5627 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3285, allocations: 23.98 kB / 0.5627 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.3285, allocations: 0 / 0.5627 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.934e-05/0.3286, allocations: 15.92 kB / 0.5627 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.3286, allocations: 0 / 0.5627 GB, free: 1.402 MB / 398.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 (7): * Single equations (assignments): 7 * 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.0001213/0.3287, allocations: 125.8 kB / 0.5628 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.3287, allocations: 15.88 kB / 0.5629 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.3291, allocations: 126.6 kB / 0.563 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3291, allocations: 0 / 0.563 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3291, allocations: 0 / 0.563 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.3291, allocations: 7.938 kB / 0.563 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006055/0.3297, allocations: 353.6 kB / 0.5633 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3297, allocations: 0 / 0.5633 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.887e-05/0.3298, allocations: 27.97 kB / 0.5634 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3298, allocations: 4 kB / 0.5634 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3298, allocations: 3.938 kB / 0.5634 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3298, allocations: 4 kB / 0.5634 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3298, allocations: 4 kB / 0.5634 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.3302, allocations: 203.5 kB / 0.5636 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.3302, allocations: 7.938 kB / 0.5636 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.3302, allocations: 15.88 kB / 0.5636 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3304, allocations: 7.984 kB / 0.5636 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.3304, allocations: 11.98 kB / 0.5636 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.3304, allocations: 0 / 0.5636 GB, free: 424 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.3305, allocations: 119.2 kB / 0.5637 GB, free: 304 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3305, allocations: 0 / 0.5637 GB, free: 304 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003073/0.3308, allocations: 43.86 kB / 0.5638 GB, free: 260 kB / 398.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 (7): * Single equations (assignments): 7 * 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.00255/0.3334, allocations: 1.17 MB / 0.5649 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003006/0.3337, allocations: 79.88 kB / 0.565 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3337, allocations: 0 / 0.565 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.3338, allocations: 39.97 kB / 0.565 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.3342, allocations: 21.89 kB / 0.565 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.3365, allocations: 1.589 MB / 0.5666 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.551e-05/0.3366, allocations: 83.66 kB / 0.5667 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.559e-05/0.3367, allocations: 17.16 kB / 0.5667 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.34e-05/0.3368, allocations: 39.36 kB / 0.5667 GB, free: 13.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3368, allocations: 3.938 kB / 0.5667 GB, free: 13.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03345/0.3703, allocations: 4.127 MB / 0.5708 GB, free: 9.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.71, allocations: 7.172 kB / 0.5708 GB, free: 9.215 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.810220876708627]