Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00177/0.00177, allocations: 112.7 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002179/0.002179, allocations: 214 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 46.93 MB / 360.8 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 83.86 kB / 0.4962 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2988, allocations: 66.08 MB / 0.5608 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003299/0.3021, allocations: 1.623 MB / 0.5623 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3031, allocations: 0.5449 MB / 0.5629 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.3032, allocations: 4 kB / 0.5629 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006353/0.3038, allocations: 455.1 kB / 0.5633 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005134/0.3044, allocations: 295.3 kB / 0.5636 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.3047, allocations: 126.6 kB / 0.5637 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.305, allocations: 171.6 kB / 0.5639 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.27e-05/0.3051, allocations: 12 kB / 0.5639 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.3052, allocations: 107.8 kB / 0.564 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.3055, allocations: 247.5 kB / 0.5642 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3055, allocations: 4 kB / 0.5642 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.019e-05/0.3056, allocations: 23.98 kB / 0.5642 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.3057, allocations: 92.59 kB / 0.5643 GB, free: 496 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.3058, allocations: 103 kB / 0.5644 GB, free: 392 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.3061, allocations: 264.5 kB / 0.5647 GB, free: 128 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3061, allocations: 4 kB / 0.5647 GB, free: 124 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3061, allocations: 0 / 0.5647 GB, free: 124 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3061, allocations: 0 / 0.5647 GB, free: 124 kB / 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.0008238/0.3069, allocations: 0.5854 MB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.307, allocations: 12.03 kB / 0.5653 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.307e-05/0.307, allocations: 34.73 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.403e-05/0.3071, allocations: 40.66 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.3074, allocations: 246.8 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3074, allocations: 8.375 kB / 0.5656 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.3074, allocations: 8.312 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.3076, allocations: 50.23 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3076, allocations: 3.938 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.3076, allocations: 0 / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.3076, allocations: 4 kB / 0.5657 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.3077, allocations: 35.84 kB / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.3082, allocations: 359.9 kB / 0.566 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.3084, allocations: 34.56 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.682e-05/0.3084, allocations: 20.94 kB / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.3085, allocations: 4 kB / 0.5661 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.3085, allocations: 34.5 kB / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3085, allocations: 0 / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003479/0.3088, allocations: 125.4 kB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3089, allocations: 55.41 kB / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009298/0.3098, allocations: 0.866 MB / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.3098, allocations: 25.7 kB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.31, allocations: 220 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.31, allocations: 7.938 kB / 0.5674 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.3101, allocations: 21.72 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.3103, allocations: 358.8 kB / 0.5677 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.014e-05/0.3103, allocations: 15.98 kB / 0.5678 GB, free: 12.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.296e-05/0.3104, allocations: 15.98 kB / 0.5678 GB, free: 12.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.3105, allocations: 44.7 kB / 0.5678 GB, free: 12.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3105, allocations: 0 / 0.5678 GB, free: 12.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000204/0.3107, allocations: 109.4 kB / 0.5679 GB, free: 12.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3107, allocations: 4 kB / 0.5679 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3107, allocations: 0 / 0.5679 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.3108, allocations: 0 / 0.5679 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.912e-05/0.3109, allocations: 12 kB / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3109, allocations: 3.984 kB / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.3109, allocations: 11.94 kB / 0.568 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.3109, allocations: 0 / 0.568 GB, free: 12.58 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 (3): * Single equations (assignments): 3 * 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.0001981/0.3111, allocations: 217.7 kB / 0.5682 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/0.3112, allocations: 43.72 kB / 0.5682 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.3115, allocations: 121.5 kB / 0.5683 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.3115, allocations: 8.031 kB / 0.5683 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3115, allocations: 0 / 0.5683 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3115, allocations: 0 / 0.5683 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.3118, allocations: 264.6 kB / 0.5686 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3118, allocations: 0 / 0.5686 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.3118, allocations: 12 kB / 0.5686 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3118, allocations: 3.938 kB / 0.5686 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3118, allocations: 11.92 kB / 0.5686 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3118, allocations: 0 / 0.5686 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3118, allocations: 0 / 0.5686 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.3121, allocations: 207.1 kB / 0.5688 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.3121, allocations: 35.7 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.3122, allocations: 8 kB / 0.5688 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.3123, allocations: 0 / 0.5688 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.3123, allocations: 7.984 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.3123, allocations: 0 / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006407/0.313, allocations: 0.655 MB / 0.5695 GB, free: 10.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.313, allocations: 0 / 0.5695 GB, free: 10.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.3133, allocations: 23.92 kB / 0.5695 GB, free: 10.9 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 (3): * Single equations (assignments): 3 * 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.001725/0.315, allocations: 0.9819 MB / 0.5705 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.3152, allocations: 35.97 kB / 0.5705 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3152, allocations: 0 / 0.5705 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.911e-05/0.3153, allocations: 19.98 kB / 0.5705 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.3157, allocations: 28.17 kB / 0.5706 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.3193, allocations: 3.198 MB / 0.5737 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.3198, allocations: 0.8221 MB / 0.5745 GB, free: 5.789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.314e-05/0.3198, allocations: 15.72 kB / 0.5745 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.3199, allocations: 107.4 kB / 0.5746 GB, free: 5.672 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3199, allocations: 4 kB / 0.5746 GB, free: 5.668 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.351, allocations: 5.909 MB / 0.5804 GB, free: 15.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.82, allocations: 11.25 kB / 0.5804 GB, free: 15.77 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.9267438579991]