Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001786/0.001786, 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.002248/0.002248, allocations: 216.9 kB / 23.73 MB, free: 4.156 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.222/0.222, allocations: 44.93 MB / 358.8 MB, free: 6.055 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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.002185/0.002185, allocations: 68.19 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.313, allocations: 65.48 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003152/0.3161, allocations: 1.661 MB / 0.5586 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.3181, allocations: 1.259 MB / 0.5598 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.3182, allocations: 0 / 0.5598 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.3184, allocations: 31.78 kB / 0.5599 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.3187, allocations: 87.61 kB / 0.56 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.3191, allocations: 179.2 kB / 0.5601 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3193, allocations: 71.83 kB / 0.5602 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3194, allocations: 25.73 kB / 0.5602 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.57e-05/0.3194, allocations: 23.92 kB / 0.5602 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.3195, allocations: 39.78 kB / 0.5603 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3196, allocations: 4 kB / 0.5603 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.3197, allocations: 91.89 kB / 0.5604 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.3198, allocations: 19.97 kB / 0.5604 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/0.3198, allocations: 31.8 kB / 0.5604 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.3201, allocations: 155.4 kB / 0.5606 GB, free: 3.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3201, allocations: 0 / 0.5606 GB, free: 3.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3201, allocations: 0 / 0.5606 GB, free: 3.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.3201, allocations: 4 kB / 0.5606 GB, free: 3.863 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.000554/0.3207, allocations: 345.6 kB / 0.5609 GB, free: 3.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3207, allocations: 8.031 kB / 0.5609 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.3208, allocations: 34.75 kB / 0.5609 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.3208, allocations: 12.89 kB / 0.561 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.321, allocations: 150.3 kB / 0.5611 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.321, allocations: 384 / 0.5611 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.321, allocations: 12.31 kB / 0.5611 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.3213, allocations: 105 kB / 0.5612 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3213, allocations: 0 / 0.5612 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.3213, allocations: 0 / 0.5612 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3213, allocations: 0 / 0.5612 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.3214, allocations: 39.97 kB / 0.5612 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.3219, allocations: 279.8 kB / 0.5615 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.3221, allocations: 46.56 kB / 0.5616 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.831e-05/0.3221, allocations: 24.94 kB / 0.5616 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.3222, allocations: 0 / 0.5616 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.3222, allocations: 34.55 kB / 0.5616 GB, free: 2.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.3222, allocations: 0 / 0.5616 GB, free: 2.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008514/0.323, allocations: 241.6 kB / 0.5618 GB, free: 2.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.3231, allocations: 77.11 kB / 0.5619 GB, free: 2.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.3233, allocations: 167.5 kB / 0.5621 GB, free: 2.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3233, allocations: 25.7 kB / 0.5621 GB, free: 2.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.3234, allocations: 100.1 kB / 0.5622 GB, free: 2.008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.3234, allocations: 23.8 kB / 0.5622 GB, free: 1.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.3235, allocations: 25.7 kB / 0.5622 GB, free: 1.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3236, allocations: 326.8 kB / 0.5626 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.3237, allocations: 39.95 kB / 0.5626 GB, free: 1.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.3239, allocations: 75.39 kB / 0.5627 GB, free: 1.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.3241, allocations: 88.8 kB / 0.5627 GB, free: 1.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3241, allocations: 0 / 0.5627 GB, free: 1.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003037/0.3244, allocations: 125.6 kB / 0.5629 GB, free: 1.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3244, allocations: 4 kB / 0.5629 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3244, allocations: 0 / 0.5629 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3245, allocations: 0 / 0.5629 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.3246, allocations: 27.91 kB / 0.5629 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3246, allocations: 4 kB / 0.5629 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.397e-05/0.3247, allocations: 11.94 kB / 0.5629 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3247, allocations: 4 kB / 0.5629 GB, free: 1.23 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 9.983e-05/0.3248, allocations: 125.8 kB / 0.563 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.3248, allocations: 11.91 kB / 0.5631 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.3252, allocations: 142.6 kB / 0.5632 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3252, allocations: 0 / 0.5632 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3252, allocations: 7.875 kB / 0.5632 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3252, allocations: 3.938 kB / 0.5632 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.3258, allocations: 381.6 kB / 0.5636 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3258, allocations: 0 / 0.5636 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.284e-05/0.3259, allocations: 19.98 kB / 0.5636 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3259, allocations: 0 / 0.5636 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3259, allocations: 3.938 kB / 0.5636 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3259, allocations: 0 / 0.5636 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3259, allocations: 0 / 0.5636 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.3263, allocations: 227.4 kB / 0.5638 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.3263, allocations: 11.94 kB / 0.5638 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.3263, allocations: 7.938 kB / 0.5638 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.3264, allocations: 7.984 kB / 0.5638 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.3264, allocations: 7.984 kB / 0.5638 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.3264, allocations: 0 / 0.5638 GB, free: 208 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.3266, allocations: 126.5 kB / 0.564 GB, free: 84 kB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3266, allocations: 0 / 0.564 GB, free: 84 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.3268, allocations: 43.88 kB / 0.564 GB, free: 40 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.002504/0.3294, allocations: 1.197 MB / 0.5652 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003815/0.3297, allocations: 83.92 kB / 0.5652 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3297, allocations: 0 / 0.5652 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.3299, allocations: 51.91 kB / 0.5653 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.3303, allocations: 13.61 kB / 0.5653 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.3327, allocations: 1.655 MB / 0.5669 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.624e-05/0.3328, allocations: 95.7 kB / 0.567 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.3329, allocations: 28.72 kB / 0.567 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.117e-05/0.333, allocations: 39.41 kB / 0.5671 GB, free: 12.98 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.333, allocations: 0 / 0.5671 GB, free: 12.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.3656, allocations: 4.2 MB / 0.5712 GB, free: 8.805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.87, allocations: 3.938 kB / 0.5712 GB, free: 8.801 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.858088453765959]