Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.00131/0.00131, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001625/0.001625, allocations: 216.2 kB / 24.53 MB, free: 4.07 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2237/0.2237, allocations: 44.91 MB / 359.6 MB, free: 6.258 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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="cs",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.003044/0.003044, allocations: 63.91 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3101, allocations: 65.48 MB / 0.5578 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003118/0.3132, allocations: 1.653 MB / 0.5594 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.3143, allocations: 0.771 MB / 0.5602 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.3143, allocations: 0 / 0.5602 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.3145, allocations: 35.83 kB / 0.5602 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.3147, allocations: 40.86 kB / 0.5602 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.028e-06/0.3147, allocations: 0 / 0.5602 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.3149, allocations: 43.83 kB / 0.5603 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.3149, allocations: 1.828 kB / 0.5603 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.268e-05/0.3149, allocations: 7.938 kB / 0.5603 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.315, allocations: 22.86 kB / 0.5603 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.315, allocations: 4 kB / 0.5603 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.268e-05/0.315, allocations: 4 kB / 0.5603 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.011e-05/0.3151, allocations: 23.92 kB / 0.5603 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.3151, allocations: 19.81 kB / 0.5604 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.3153, allocations: 75.55 kB / 0.5604 GB, free: 5.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3153, allocations: 0 / 0.5604 GB, free: 5.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3153, allocations: 4 kB / 0.5604 GB, free: 5.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.3153, allocations: 0 / 0.5604 GB, free: 5.07 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003602/0.3156, allocations: 292.3 kB / 0.5607 GB, free: 4.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3157, allocations: 8.031 kB / 0.5607 GB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.14e-05/0.3157, allocations: 192 / 0.5607 GB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.3157, allocations: 42.73 kB / 0.5608 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.3158, allocations: 8.891 kB / 0.5608 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.3159, allocations: 126.4 kB / 0.5609 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-06/0.3159, allocations: 384 / 0.5609 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.3159, allocations: 8.375 kB / 0.5609 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.3161, allocations: 123.1 kB / 0.561 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3161, allocations: 3.938 kB / 0.561 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.3161, allocations: 0 / 0.561 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-05/0.3162, allocations: 23.98 kB / 0.5611 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.094e-05/0.3162, allocations: 47.91 kB / 0.5611 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007028/0.3169, allocations: 0.8508 MB / 0.5619 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.823e-05/0.317, allocations: 177.1 kB / 0.5621 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.91e-05/0.3171, allocations: 84.17 kB / 0.5622 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.3171, allocations: 79.27 kB / 0.5623 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.618e-05/0.3172, allocations: 105.8 kB / 0.5624 GB, free: 2.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3172, allocations: 4 kB / 0.5624 GB, free: 2.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.893e-05/0.3173, allocations: 41.61 kB / 0.5624 GB, free: 2.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.3173, allocations: 126.7 kB / 0.5625 GB, free: 2.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.3175, allocations: 186.1 kB / 0.5627 GB, free: 2.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.3175, allocations: 25.7 kB / 0.5627 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.3176, allocations: 159.4 kB / 0.5629 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/0.3176, allocations: 3.938 kB / 0.5629 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.3177, allocations: 45.66 kB / 0.5629 GB, free: 2.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3179, allocations: 322.8 kB / 0.5632 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.274e-05/0.3179, allocations: 31.97 kB / 0.5633 GB, free: 1.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.3181, allocations: 157.1 kB / 0.5634 GB, free: 1.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.3183, allocations: 200.9 kB / 0.5636 GB, free: 1.484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3183, allocations: 0 / 0.5636 GB, free: 1.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003413/0.3186, allocations: 205 kB / 0.5638 GB, free: 1.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3187, allocations: 8.625 kB / 0.5638 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.3187, allocations: 4 kB / 0.5638 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.3187, allocations: 12 kB / 0.5638 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.3188, allocations: 39.91 kB / 0.5639 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.3188, allocations: 7.938 kB / 0.5639 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.64e-05/0.3189, allocations: 23.83 kB / 0.5639 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.3189, allocations: 12 kB / 0.5639 GB, free: 1.172 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001632/0.3191, allocations: 216.9 kB / 0.5641 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.3192, allocations: 116.9 kB / 0.5642 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.723e-05/0.3193, allocations: 116.6 kB / 0.5643 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001026/0.3194, allocations: 188.2 kB / 0.5645 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.392e-05/0.3195, allocations: 176.4 kB / 0.5647 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-05/0.3196, allocations: 188.2 kB / 0.5649 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.3199, allocations: 396.2 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-05/0.32, allocations: 101 kB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.32, allocations: 112.9 kB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-05/0.3201, allocations: 180.3 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-05/0.3202, allocations: 180.2 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001037/0.3203, allocations: 180.2 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.007e-05/0.3204, allocations: 192.2 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.3206, allocations: 311.7 kB / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.378e-05/0.3206, allocations: 116.9 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.741e-05/0.3207, allocations: 184.3 kB / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3208, allocations: 104.9 kB / 0.5668 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.448e-05/0.3209, allocations: 180.3 kB / 0.567 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.144e-05/0.321, allocations: 101 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.3211, allocations: 132.1 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3211, allocations: 0 / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.3214, allocations: 19.94 kB / 0.5672 GB, free: 13.55 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 (0): * Single equations (assignments): 0 * 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.001081/0.3225, allocations: 0.917 MB / 0.5681 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.3227, allocations: 71.78 kB / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3227, allocations: 1.25 kB / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.3227, allocations: 0 / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.3231, allocations: 463.7 kB / 0.5686 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.325, allocations: 1.881 MB / 0.5705 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.3254, allocations: 0.7006 MB / 0.5712 GB, free: 9.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.3256, allocations: 49.02 kB / 0.5712 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.412e-05/0.3256, allocations: 35.36 kB / 0.5712 GB, free: 9.234 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3256, allocations: 0 / 0.5712 GB, free: 9.234 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.348, allocations: 2.401 MB / 0.5736 GB, free: 6.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.77, allocations: 5.938 kB / 0.5736 GB, free: 6.91 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.86721222900087]