Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.00146/0.00146, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002335/0.002335, allocations: 196.5 kB / 23.72 MB, free: 4.5 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.574/1.574, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.2313/0.2313, allocations: 44.95 MB / 358.9 MB, free: 6.016 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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5",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.002188/0.002188, allocations: 63.91 kB / 0.493 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3422, allocations: 65.48 MB / 0.557 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003288/0.3455, allocations: 1.639 MB / 0.5586 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3466, allocations: 0.531 MB / 0.5591 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.3466, allocations: 0 / 0.5591 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006189/0.3472, allocations: 451.1 kB / 0.5595 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004987/0.3477, allocations: 299.3 kB / 0.5598 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.3481, allocations: 143 kB / 0.56 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.3484, allocations: 155.7 kB / 0.5601 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3485, allocations: 21.8 kB / 0.5601 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3486, allocations: 115.7 kB / 0.5602 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.3489, allocations: 247.5 kB / 0.5605 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.3489, allocations: 4 kB / 0.5605 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.537e-05/0.349, allocations: 31.98 kB / 0.5605 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.3491, allocations: 79.7 kB / 0.5606 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.19e-05/0.3492, allocations: 75.22 kB / 0.5607 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.3496, allocations: 270.5 kB / 0.5609 GB, free: 3.453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.3496, allocations: 4 kB / 0.5609 GB, free: 3.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3496, allocations: 0 / 0.5609 GB, free: 3.449 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3496, allocations: 0 / 0.5609 GB, free: 3.449 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.0008365/0.3504, allocations: 0.5854 MB / 0.5615 GB, free: 2.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.3505, allocations: 12.03 kB / 0.5615 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.081e-05/0.3505, allocations: 38.69 kB / 0.5615 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.417e-05/0.3506, allocations: 48.61 kB / 0.5616 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.3509, allocations: 238.8 kB / 0.5618 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3509, allocations: 4.375 kB / 0.5618 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.351, allocations: 384 / 0.5618 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.3511, allocations: 65.55 kB / 0.5619 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3511, allocations: 4 kB / 0.5619 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.3511, allocations: 0 / 0.5619 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3511, allocations: 3.984 kB / 0.5619 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.3513, allocations: 27.98 kB / 0.5619 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/0.3518, allocations: 355.7 kB / 0.5623 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.3521, allocations: 46.5 kB / 0.5623 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.3521, allocations: 16.94 kB / 0.5623 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.3522, allocations: 4 kB / 0.5623 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.3522, allocations: 34.56 kB / 0.5624 GB, free: 1.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3522, allocations: 3.938 kB / 0.5624 GB, free: 1.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006687/0.3529, allocations: 228.9 kB / 0.5626 GB, free: 1.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.3529, allocations: 55.39 kB / 0.5626 GB, free: 1.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009601/0.3539, allocations: 0.8776 MB / 0.5635 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.3539, allocations: 25.7 kB / 0.5635 GB, free: 0.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.3541, allocations: 224.1 kB / 0.5637 GB, free: 412 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.3542, allocations: 23.83 kB / 0.5637 GB, free: 388 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.3542, allocations: 13.72 kB / 0.5638 GB, free: 368 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.3544, allocations: 362.8 kB / 0.5641 GB, free: 16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.392e-05/0.3545, allocations: 15.98 kB / 0.5641 GB, free: 15.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.264e-05/0.3546, allocations: 23.97 kB / 0.5641 GB, free: 15.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.3547, allocations: 44.78 kB / 0.5642 GB, free: 15.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3547, allocations: 0 / 0.5642 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002334/0.3549, allocations: 129.3 kB / 0.5643 GB, free: 15.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.355, allocations: 4 kB / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.355, allocations: 4.031 kB / 0.5643 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.355, allocations: 7.984 kB / 0.5643 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.55e-05/0.3551, allocations: 8 kB / 0.5643 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3551, allocations: 3.984 kB / 0.5643 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.3551, allocations: 7.938 kB / 0.5643 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.3551, allocations: 0 / 0.5643 GB, free: 15.74 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 (5): * Single equations (assignments): 5 * 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.0002275/0.3554, allocations: 213.8 kB / 0.5645 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.095e-05/0.3554, allocations: 47.72 kB / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.3558, allocations: 133.2 kB / 0.5647 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3558, allocations: 0 / 0.5647 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3558, allocations: 320 / 0.5647 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3558, allocations: 7.922 kB / 0.5647 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006218/0.3564, allocations: 437.5 kB / 0.5651 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3564, allocations: 0 / 0.5651 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.968e-05/0.3565, allocations: 15.98 kB / 0.5652 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3565, allocations: 4 kB / 0.5652 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3565, allocations: 7.938 kB / 0.5652 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3565, allocations: 0 / 0.5652 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3565, allocations: 0 / 0.5652 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.3568, allocations: 211.2 kB / 0.5654 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.932e-05/0.3568, allocations: 43.64 kB / 0.5654 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.3569, allocations: 3.938 kB / 0.5654 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.254e-05/0.357, allocations: 8 kB / 0.5654 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.357, allocations: 7.922 kB / 0.5654 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.357, allocations: 8 kB / 0.5654 GB, free: 14.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008224/0.3578, allocations: 0.6589 MB / 0.5661 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3578, allocations: 0 / 0.5661 GB, free: 13.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.3581, allocations: 19.94 kB / 0.5661 GB, free: 13.85 MB / 414.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 (5): * Single equations (assignments): 5 * 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.00228/0.3604, allocations: 1.073 MB / 0.5672 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.3606, allocations: 47.91 kB / 0.5672 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3606, allocations: 4 kB / 0.5672 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.689e-05/0.3607, allocations: 23.98 kB / 0.5672 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.3611, allocations: 30.55 kB / 0.5673 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.3653, allocations: 3.24 MB / 0.5704 GB, free: 9.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.3655, allocations: 224.1 kB / 0.5706 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.154e-05/0.3656, allocations: 11.98 kB / 0.5706 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.3657, allocations: 103.4 kB / 0.5707 GB, free: 9.152 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3657, allocations: 0 / 0.5707 GB, free: 9.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/0.4009, allocations: 6.574 MB / 0.5772 GB, free: 2.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.79, allocations: 8.938 kB / 0.5772 GB, free: 2.617 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.949707590043545]