Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.001781/0.001781, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002391/0.002391, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2113/0.2113, allocations: 44.92 MB / 358.8 MB, free: 6.301 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",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.002058/0.002058, allocations: 63.91 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3668, allocations: 65.48 MB / 0.557 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003456/0.3703, allocations: 1.624 MB / 0.5586 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3714, allocations: 0.5455 MB / 0.5592 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.3715, allocations: 3.938 kB / 0.5592 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006462/0.3721, allocations: 451.2 kB / 0.5596 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005116/0.3726, allocations: 295.3 kB / 0.5599 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.373, allocations: 123.7 kB / 0.56 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.3732, allocations: 163.6 kB / 0.5602 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3734, allocations: 12.17 kB / 0.5602 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.3735, allocations: 107.7 kB / 0.5603 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.3738, allocations: 243.5 kB / 0.5605 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.3738, allocations: 0 / 0.5605 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.326e-05/0.3739, allocations: 27.97 kB / 0.5605 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.374, allocations: 84.67 kB / 0.5606 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.137e-05/0.3741, allocations: 103 kB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.3745, allocations: 264.4 kB / 0.561 GB, free: 3.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3745, allocations: 7.922 kB / 0.561 GB, free: 3.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3745, allocations: 0 / 0.561 GB, free: 3.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.3745, allocations: 0 / 0.561 GB, free: 3.727 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008547/0.3753, allocations: 0.566 MB / 0.5615 GB, free: 3.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3754, allocations: 12.03 kB / 0.5615 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.3754, allocations: 34.75 kB / 0.5616 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.3755, allocations: 44.61 kB / 0.5616 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.3758, allocations: 250.8 kB / 0.5618 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.3758, allocations: 384 / 0.5618 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.3758, allocations: 8.125 kB / 0.5619 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.3759, allocations: 53.61 kB / 0.5619 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.376, allocations: 4 kB / 0.5619 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.376, allocations: 0 / 0.5619 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.376, allocations: 4 kB / 0.5619 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.021e-05/0.376, allocations: 19.98 kB / 0.5619 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.3765, allocations: 351.9 kB / 0.5623 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.273e-05/0.3766, allocations: 34.52 kB / 0.5623 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.3767, allocations: 12.91 kB / 0.5623 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.3767, allocations: 0 / 0.5623 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.3767, allocations: 30.56 kB / 0.5623 GB, free: 2.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 2.645e-06/0.3767, allocations: 4 kB / 0.5623 GB, free: 2.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002626/0.377, allocations: 105.4 kB / 0.5624 GB, free: 2.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.377, allocations: 55.34 kB / 0.5625 GB, free: 2.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009434/0.378, allocations: 0.866 MB / 0.5633 GB, free: 1.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.378, allocations: 29.7 kB / 0.5634 GB, free: 1.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.3782, allocations: 224 kB / 0.5636 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.3782, allocations: 11.88 kB / 0.5636 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.3782, allocations: 17.84 kB / 0.5636 GB, free: 0.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3784, allocations: 362.7 kB / 0.564 GB, free: 480 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/0.3785, allocations: 15.92 kB / 0.564 GB, free: 464 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.277e-05/0.3785, allocations: 8 kB / 0.564 GB, free: 456 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.567e-05/0.3786, allocations: 28.78 kB / 0.564 GB, free: 424 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3786, allocations: 0 / 0.564 GB, free: 424 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001537/0.3787, allocations: 93.47 kB / 0.5641 GB, free: 324 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3788, allocations: 11.92 kB / 0.5641 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3788, allocations: 0 / 0.5641 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3788, allocations: 0 / 0.5641 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.478e-05/0.3788, allocations: 4 kB / 0.5641 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3788, allocations: 4 kB / 0.5641 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.3789, allocations: 0 / 0.5641 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3789, allocations: 3.938 kB / 0.5641 GB, free: 300 kB / 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 (2): * Single equations (assignments): 2 * 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.0001994/0.3791, allocations: 217.7 kB / 0.5643 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.3792, allocations: 47.75 kB / 0.5644 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.3794, allocations: 100.8 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3794, allocations: 0 / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3794, allocations: 3.984 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3794, allocations: 0 / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.3797, allocations: 264.6 kB / 0.5647 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3797, allocations: 0 / 0.5647 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.3797, allocations: 7.938 kB / 0.5647 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3797, allocations: 0 / 0.5647 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.3797, allocations: 4.031 kB / 0.5647 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.3797, allocations: 0 / 0.5647 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3797, allocations: 0 / 0.5647 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.38, allocations: 191.2 kB / 0.5649 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/0.38, allocations: 39.67 kB / 0.565 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.38, allocations: 0 / 0.565 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.183e-05/0.3801, allocations: 11.98 kB / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.3801, allocations: 4.031 kB / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.3801, allocations: 0 / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000695/0.3808, allocations: 0.6667 MB / 0.5656 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3808, allocations: 0 / 0.5656 GB, free: 14.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.3811, allocations: 12 kB / 0.5656 GB, free: 14.66 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 (2): * Single equations (assignments): 2 * 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.001721/0.3828, allocations: 0.973 MB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.3829, allocations: 19.98 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3829, allocations: 12 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.383, allocations: 11.92 kB / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.3834, allocations: 26.3 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003645/0.387, allocations: 3.156 MB / 0.5697 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/0.3875, allocations: 0.8182 MB / 0.5705 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.688e-05/0.3876, allocations: 11.83 kB / 0.5705 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.3877, allocations: 115.4 kB / 0.5707 GB, free: 9.516 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3877, allocations: 0 / 0.5707 GB, free: 9.516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.4208, allocations: 5.886 MB / 0.5764 GB, free: 3.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.95, allocations: 11.06 kB / 0.5764 GB, free: 3.684 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.199593370001821]