Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001372/0.001372, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001543/0.001543, allocations: 210.5 kB / 23.73 MB, free: 4.387 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2347/0.2347, allocations: 46.95 MB / 360.9 MB, free: 4.051 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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 71.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3713, allocations: 66.03 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003361/0.3747, allocations: 1.672 MB / 0.5622 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.3759, allocations: 0.5583 MB / 0.5628 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.376, allocations: 3.938 kB / 0.5628 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006302/0.3766, allocations: 455.1 kB / 0.5632 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005027/0.3771, allocations: 295.3 kB / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.3776, allocations: 179.1 kB / 0.5637 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.3779, allocations: 183.6 kB / 0.5639 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.378, allocations: 14.05 kB / 0.5639 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.3782, allocations: 111.7 kB / 0.564 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.3785, allocations: 255.5 kB / 0.5642 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.3785, allocations: 8 kB / 0.5642 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.3786, allocations: 47.98 kB / 0.5643 GB, free: 488 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.3788, allocations: 87.62 kB / 0.5644 GB, free: 400 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.258e-05/0.3788, allocations: 75.22 kB / 0.5644 GB, free: 324 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.3792, allocations: 290.5 kB / 0.5647 GB, free: 32 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3793, allocations: 0 / 0.5647 GB, free: 32 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3793, allocations: 0 / 0.5647 GB, free: 32 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.3793, allocations: 0 / 0.5647 GB, free: 32 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008641/0.3801, allocations: 0.6009 MB / 0.5653 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3802, allocations: 12.02 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.3802, allocations: 34.75 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/0.3803, allocations: 44.66 kB / 0.5654 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.3806, allocations: 254.7 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3806, allocations: 4.375 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.3807, allocations: 4.375 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3808, allocations: 65.55 kB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.3808, allocations: 4 kB / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.3808, allocations: 0 / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3808, allocations: 0 / 0.5657 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.381, allocations: 31.97 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000695/0.3817, allocations: 379.7 kB / 0.5661 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.3818, allocations: 50.5 kB / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.599e-05/0.3818, allocations: 20.94 kB / 0.5662 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.3819, allocations: 0 / 0.5662 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.3819, allocations: 30.56 kB / 0.5662 GB, free: 14.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3819, allocations: 0 / 0.5662 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001055/0.3829, allocations: 340.9 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.383, allocations: 63.33 kB / 0.5666 GB, free: 13.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009509/0.384, allocations: 0.8738 MB / 0.5674 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.384, allocations: 25.7 kB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.3842, allocations: 228.1 kB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.3842, allocations: 23.75 kB / 0.5677 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.3843, allocations: 25.7 kB / 0.5677 GB, free: 12.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.3845, allocations: 362.8 kB / 0.5681 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.174e-05/0.3846, allocations: 35.97 kB / 0.5681 GB, free: 12.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.034e-05/0.3847, allocations: 27.98 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.3849, allocations: 76.81 kB / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3849, allocations: 0 / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000285/0.3851, allocations: 149.3 kB / 0.5683 GB, free: 12.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3852, allocations: 8 kB / 0.5683 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.3852, allocations: 4.312 kB / 0.5683 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3852, allocations: 0 / 0.5683 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.3853, allocations: 23.92 kB / 0.5684 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3853, allocations: 0 / 0.5684 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.3854, allocations: 7.984 kB / 0.5684 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3854, allocations: 3.984 kB / 0.5684 GB, free: 12.06 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.0002247/0.3856, allocations: 217.8 kB / 0.5686 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.3857, allocations: 43.72 kB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003698/0.386, allocations: 189.3 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.386, allocations: 3.938 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3861, allocations: 0 / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3861, allocations: 0 / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007567/0.3868, allocations: 498.2 kB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3868, allocations: 0 / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.047e-05/0.3869, allocations: 16 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.3869, allocations: 3.984 kB / 0.5693 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.3869, allocations: 4.031 kB / 0.5693 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3869, allocations: 4 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3869, allocations: 0 / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.3872, allocations: 252 kB / 0.5696 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.3873, allocations: 43.66 kB / 0.5696 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.3873, allocations: 4 kB / 0.5696 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.152e-05/0.3874, allocations: 8 kB / 0.5696 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.3875, allocations: 11.92 kB / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.3875, allocations: 0 / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007192/0.3882, allocations: 0.6667 MB / 0.5703 GB, free: 10.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3882, allocations: 0 / 0.5703 GB, free: 10.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.3885, allocations: 28 kB / 0.5703 GB, free: 10 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.002636/0.3911, allocations: 1.177 MB / 0.5714 GB, free: 9.016 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.3913, allocations: 79.86 kB / 0.5715 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3914, allocations: 0 / 0.5715 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.999e-05/0.3915, allocations: 39.97 kB / 0.5716 GB, free: 8.898 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.3919, allocations: 34.92 kB / 0.5716 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005213/0.3972, allocations: 3.403 MB / 0.5749 GB, free: 5.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.3974, allocations: 224.1 kB / 0.5751 GB, free: 5.137 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.3975, allocations: 20.73 kB / 0.5752 GB, free: 5.117 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.3977, allocations: 119.4 kB / 0.5753 GB, free: 5 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3977, allocations: 0 / 0.5753 GB, free: 5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0407/0.4384, allocations: 6.975 MB / 0.5821 GB, free: 14.06 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.92, allocations: 17.44 kB / 0.5821 GB, free: 14.05 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_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_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.055247714277357]