Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.001419/0.001419, 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.001914/0.001914, allocations: 212.2 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2379/0.2379, allocations: 44.93 MB / 358.8 MB, free: 6.074 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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",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.002165/0.002165, allocations: 63.89 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.316, allocations: 65.46 MB / 0.557 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003176/0.3192, allocations: 1.657 MB / 0.5586 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.3213, allocations: 1.236 MB / 0.5598 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/0.3213, allocations: 0 / 0.5598 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.3215, allocations: 19.84 kB / 0.5598 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.3219, allocations: 99.55 kB / 0.5599 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.3222, allocations: 127.4 kB / 0.56 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.3224, allocations: 87.69 kB / 0.5601 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3225, allocations: 9.828 kB / 0.5601 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.77e-05/0.3225, allocations: 27.86 kB / 0.5602 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.3226, allocations: 39.83 kB / 0.5602 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.3227, allocations: 8 kB / 0.5602 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.3228, allocations: 91.88 kB / 0.5603 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.3229, allocations: 19.92 kB / 0.5603 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.3229, allocations: 15.88 kB / 0.5603 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.3232, allocations: 155.4 kB / 0.5605 GB, free: 3.988 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3232, allocations: 0 / 0.5605 GB, free: 3.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3232, allocations: 0 / 0.5605 GB, free: 3.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3232, allocations: 0 / 0.5605 GB, free: 3.988 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.0005877/0.3238, allocations: 353.5 kB / 0.5608 GB, free: 3.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3239, allocations: 8.031 kB / 0.5608 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.3239, allocations: 34.75 kB / 0.5609 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.3239, allocations: 8.891 kB / 0.5609 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.3242, allocations: 144.6 kB / 0.561 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3242, allocations: 384 / 0.561 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.3242, allocations: 8.328 kB / 0.561 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.3244, allocations: 101 kB / 0.5611 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3244, allocations: 4 kB / 0.5611 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.3245, allocations: 7.938 kB / 0.5611 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3245, allocations: 0 / 0.5611 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.3246, allocations: 35.97 kB / 0.5611 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.325, allocations: 251.9 kB / 0.5614 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.3251, allocations: 50.53 kB / 0.5614 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.611e-05/0.3252, allocations: 24.88 kB / 0.5615 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.3252, allocations: 4 kB / 0.5615 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.3253, allocations: 30.56 kB / 0.5615 GB, free: 2.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3253, allocations: 0 / 0.5615 GB, free: 2.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008178/0.3261, allocations: 217.3 kB / 0.5617 GB, free: 2.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/0.3262, allocations: 81.11 kB / 0.5618 GB, free: 2.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.3264, allocations: 156.5 kB / 0.5619 GB, free: 2.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.3264, allocations: 25.7 kB / 0.562 GB, free: 2.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.609e-05/0.3264, allocations: 100.1 kB / 0.562 GB, free: 2.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.3265, allocations: 31.75 kB / 0.5621 GB, free: 2.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.3265, allocations: 25.7 kB / 0.5621 GB, free: 2.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3267, allocations: 314.8 kB / 0.5624 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.3268, allocations: 31.97 kB / 0.5624 GB, free: 1.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.327, allocations: 71.39 kB / 0.5625 GB, free: 1.695 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.3272, allocations: 80.83 kB / 0.5626 GB, free: 1.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3272, allocations: 0 / 0.5626 GB, free: 1.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003044/0.3275, allocations: 121.5 kB / 0.5627 GB, free: 1.488 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3275, allocations: 4 kB / 0.5627 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3275, allocations: 0 / 0.5627 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3275, allocations: 0 / 0.5627 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.3277, allocations: 19.98 kB / 0.5627 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3277, allocations: 4 kB / 0.5627 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.265e-05/0.3277, allocations: 23.86 kB / 0.5627 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3278, allocations: 0 / 0.5627 GB, free: 1.438 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.00011/0.3279, allocations: 117.8 kB / 0.5629 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.3279, allocations: 11.94 kB / 0.5629 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003768/0.3283, allocations: 126.6 kB / 0.563 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3283, allocations: 0 / 0.563 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3283, allocations: 4 kB / 0.563 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3283, allocations: 7.938 kB / 0.563 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006169/0.3289, allocations: 353.5 kB / 0.5633 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3289, allocations: 0 / 0.5633 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.491e-05/0.329, allocations: 23.97 kB / 0.5634 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.329, allocations: 0 / 0.5634 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.329, allocations: 7.938 kB / 0.5634 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.329, allocations: 4 kB / 0.5634 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.329, allocations: 0 / 0.5634 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.3294, allocations: 203.5 kB / 0.5636 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.3294, allocations: 15.94 kB / 0.5636 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.3294, allocations: 3.938 kB / 0.5636 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3295, allocations: 7.984 kB / 0.5636 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.3296, allocations: 7.938 kB / 0.5636 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.3296, allocations: 4 kB / 0.5636 GB, free: 480 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.3297, allocations: 127.2 kB / 0.5637 GB, free: 352 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3297, allocations: 0 / 0.5637 GB, free: 352 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003141/0.33, allocations: 39.86 kB / 0.5638 GB, free: 312 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.002511/0.3325, allocations: 1.172 MB / 0.5649 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002962/0.3328, allocations: 75.88 kB / 0.565 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3328, allocations: 4 kB / 0.565 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.333, allocations: 39.95 kB / 0.565 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.3333, allocations: 17.61 kB / 0.565 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.3356, allocations: 1.589 MB / 0.5666 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.3357, allocations: 83.84 kB / 0.5667 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.482e-05/0.3358, allocations: 20.98 kB / 0.5667 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.41e-05/0.3359, allocations: 39.34 kB / 0.5667 GB, free: 13.36 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3359, allocations: 0 / 0.5667 GB, free: 13.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03217/0.368, allocations: 4.119 MB / 0.5707 GB, free: 9.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.85, allocations: 13.62 kB / 0.5708 GB, free: 9.266 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.938125465996563]