Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.00132/0.00132, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.001474/0.001474, allocations: 210.5 kB / 23.74 MB, free: 4.531 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.463/1.463, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2292/0.2292, allocations: 46.93 MB / 360.9 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 67.89 kB / 0.4962 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3224, allocations: 66.04 MB / 0.5607 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003444/0.3259, allocations: 1.633 MB / 0.5623 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.327, allocations: 0.5543 MB / 0.5628 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.327, allocations: 7.938 kB / 0.5628 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.3274, allocations: 107.7 kB / 0.5629 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.3277, allocations: 119.5 kB / 0.563 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.328, allocations: 111.7 kB / 0.5631 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.3282, allocations: 95.73 kB / 0.5632 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3283, allocations: 9.828 kB / 0.5632 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.361e-05/0.3284, allocations: 47.83 kB / 0.5633 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.3285, allocations: 79.72 kB / 0.5634 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.3285, allocations: 4 kB / 0.5634 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.604e-05/0.3286, allocations: 43.98 kB / 0.5634 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.3287, allocations: 27.91 kB / 0.5634 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.234e-05/0.3287, allocations: 39.69 kB / 0.5635 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.329, allocations: 119.4 kB / 0.5636 GB, free: 1.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.329, allocations: 0 / 0.5636 GB, free: 1.484 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.329, allocations: 0 / 0.5636 GB, free: 1.484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.329, allocations: 0 / 0.5636 GB, free: 1.484 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.0005314/0.3295, allocations: 361.5 kB / 0.5639 GB, free: 1.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3295, allocations: 8.031 kB / 0.5639 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.3296, allocations: 30.75 kB / 0.564 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.3296, allocations: 12.89 kB / 0.564 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.3299, allocations: 155.1 kB / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.3299, allocations: 4.375 kB / 0.5641 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.3299, allocations: 384 / 0.5641 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.33, allocations: 65.55 kB / 0.5642 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3301, allocations: 7.891 kB / 0.5642 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.3301, allocations: 4 kB / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3301, allocations: 0 / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.734e-05/0.3302, allocations: 23.98 kB / 0.5642 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.3306, allocations: 275.9 kB / 0.5645 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.3307, allocations: 50.5 kB / 0.5645 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.3308, allocations: 20.92 kB / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.3308, allocations: 4 kB / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.3308, allocations: 34.56 kB / 0.5646 GB, free: 320 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3308, allocations: 0 / 0.5646 GB, free: 320 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000938/0.3318, allocations: 257.1 kB / 0.5648 GB, free: 56 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.3318, allocations: 51.41 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.3321, allocations: 262.9 kB / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.3321, allocations: 25.7 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.3322, allocations: 112.1 kB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.3322, allocations: 27.73 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.3323, allocations: 21.72 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3324, allocations: 326.8 kB / 0.5656 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-05/0.3325, allocations: 35.91 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.271e-05/0.3326, allocations: 27.98 kB / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3328, allocations: 76.81 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3328, allocations: 0 / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002337/0.333, allocations: 113.5 kB / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.333, allocations: 8 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.333, allocations: 0 / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.333, allocations: 0 / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3331, allocations: 27.92 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.3331, allocations: 3.938 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.3332, allocations: 11.98 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3332, allocations: 0 / 0.5659 GB, free: 14.89 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 (8): * Single equations (assignments): 8 * 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.0001113/0.3333, allocations: 133.8 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.3333, allocations: 19.91 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.3337, allocations: 123 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3337, allocations: 0 / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3337, allocations: 7.922 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3337, allocations: 0 / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005606/0.3342, allocations: 402.3 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3342, allocations: 4.031 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.579e-05/0.3343, allocations: 23.92 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3343, allocations: 0 / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.3343, allocations: 0 / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3343, allocations: 0 / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3343, allocations: 8.406 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.3346, allocations: 220.2 kB / 0.5668 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.3346, allocations: 15.83 kB / 0.5668 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.3346, allocations: 7.984 kB / 0.5669 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.3347, allocations: 4 kB / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.3348, allocations: 7.984 kB / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.3348, allocations: 0 / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.3349, allocations: 187.2 kB / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3349, allocations: 4 kB / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.3352, allocations: 23.94 kB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002197/0.3374, allocations: 1.115 MB / 0.5682 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.3376, allocations: 63.95 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3376, allocations: 0 / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3377, allocations: 43.91 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.3381, allocations: 23.81 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.3402, allocations: 1.795 MB / 0.57 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.3406, allocations: 0.7237 MB / 0.5707 GB, free: 9.906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.748e-05/0.3406, allocations: 28.89 kB / 0.5708 GB, free: 9.879 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.3407, allocations: 39.42 kB / 0.5708 GB, free: 9.84 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3407, allocations: 0 / 0.5708 GB, free: 9.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.37, allocations: 3.507 MB / 0.5742 GB, free: 6.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.54, allocations: 0 / 0.5742 GB, free: 6.395 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.598513768003613]