Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001321/0.001321, allocations: 107.1 kB / 20.44 MB, free: 1.328 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.001432/0.001432, allocations: 205.3 kB / 23.72 MB, free: 4.5 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.29/0.29, allocations: 44.93 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",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.002149/0.002149, allocations: 63.91 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3917, allocations: 65.48 MB / 0.557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003233/0.395, allocations: 1.588 MB / 0.5585 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3961, allocations: 0.531 MB / 0.5591 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.3961, allocations: 4 kB / 0.5591 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.3964, allocations: 19.8 kB / 0.5591 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.3966, allocations: 83.67 kB / 0.5592 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.3969, allocations: 106.8 kB / 0.5593 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.3971, allocations: 71.77 kB / 0.5593 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3972, allocations: 9.828 kB / 0.5593 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.092e-05/0.3973, allocations: 23.91 kB / 0.5594 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.028e-05/0.3973, allocations: 23.86 kB / 0.5594 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.3973, allocations: 8 kB / 0.5594 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.899e-05/0.3974, allocations: 31.94 kB / 0.5594 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.179e-05/0.3975, allocations: 23.84 kB / 0.5594 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.3975, allocations: 15.88 kB / 0.5595 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.3977, allocations: 87.59 kB / 0.5595 GB, free: 4.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3978, allocations: 0 / 0.5595 GB, free: 4.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3978, allocations: 0 / 0.5595 GB, free: 4.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3978, allocations: 0 / 0.5595 GB, free: 4.91 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.0005513/0.3983, allocations: 315.9 kB / 0.5598 GB, free: 4.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3984, allocations: 8.031 kB / 0.5599 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.856e-05/0.3984, allocations: 38.75 kB / 0.5599 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.3984, allocations: 12.89 kB / 0.5599 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.3987, allocations: 138.3 kB / 0.56 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3987, allocations: 384 / 0.56 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.3987, allocations: 4.375 kB / 0.56 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.3988, allocations: 57.56 kB / 0.5601 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3989, allocations: 0 / 0.5601 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3989, allocations: 4 kB / 0.5601 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3989, allocations: 0 / 0.5601 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.46e-05/0.399, allocations: 27.97 kB / 0.5601 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.3994, allocations: 255.9 kB / 0.5604 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.3996, allocations: 42.55 kB / 0.5604 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.3997, allocations: 16.86 kB / 0.5604 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.3997, allocations: 0 / 0.5604 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.3997, allocations: 30.56 kB / 0.5605 GB, free: 3.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3997, allocations: 0 / 0.5605 GB, free: 3.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006005/0.4003, allocations: 161.4 kB / 0.5606 GB, free: 3.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.4004, allocations: 51.41 kB / 0.5607 GB, free: 3.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.4006, allocations: 168.4 kB / 0.5608 GB, free: 3.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.4006, allocations: 25.7 kB / 0.5608 GB, free: 3.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.4006, allocations: 100.1 kB / 0.5609 GB, free: 3.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.4007, allocations: 15.8 kB / 0.561 GB, free: 3.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.4007, allocations: 21.7 kB / 0.561 GB, free: 3.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4009, allocations: 318.8 kB / 0.5613 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.4009, allocations: 27.91 kB / 0.5613 GB, free: 2.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.288e-05/0.401, allocations: 19.98 kB / 0.5613 GB, free: 2.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.4011, allocations: 56.83 kB / 0.5614 GB, free: 2.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4011, allocations: 0 / 0.5614 GB, free: 2.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000191/0.4013, allocations: 81.61 kB / 0.5615 GB, free: 2.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4013, allocations: 8 kB / 0.5615 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.4013, allocations: 0 / 0.5615 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.4014, allocations: 0 / 0.5615 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.73e-05/0.4014, allocations: 19.92 kB / 0.5615 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.4014, allocations: 11.94 kB / 0.5615 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.653e-05/0.4015, allocations: 3.938 kB / 0.5615 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.4015, allocations: 4 kB / 0.5615 GB, free: 2.715 MB / 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 (5): * Single equations (assignments): 5 * 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 8.786e-05/0.4016, allocations: 117.8 kB / 0.5616 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.4016, allocations: 7.953 kB / 0.5616 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.4018, allocations: 94.59 kB / 0.5617 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4018, allocations: 64 / 0.5617 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.4019, allocations: 15.88 kB / 0.5617 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4019, allocations: 7.969 kB / 0.5617 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.4023, allocations: 325.6 kB / 0.562 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4023, allocations: 3.984 kB / 0.562 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-05/0.4024, allocations: 12 kB / 0.5621 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.4024, allocations: 3.938 kB / 0.5621 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.4024, allocations: 0 / 0.5621 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4024, allocations: 0 / 0.5621 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.4024, allocations: 0 / 0.5621 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.4026, allocations: 191.4 kB / 0.5622 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.4026, allocations: 11.94 kB / 0.5623 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.4027, allocations: 3.938 kB / 0.5623 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-05/0.4027, allocations: 4 kB / 0.5623 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.4028, allocations: 7.984 kB / 0.5623 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.4028, allocations: 0 / 0.5623 GB, free: 1.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.4029, allocations: 123.2 kB / 0.5624 GB, free: 1.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4029, allocations: 0 / 0.5624 GB, free: 1.711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.4031, allocations: 19.95 kB / 0.5624 GB, free: 1.691 MB / 398.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 (5): * Single equations (assignments): 5 * 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.00209/0.4052, allocations: 1.056 MB / 0.5634 GB, free: 0.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.4054, allocations: 43.97 kB / 0.5635 GB, free: 0.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4054, allocations: 0 / 0.5635 GB, free: 0.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.845e-05/0.4055, allocations: 27.97 kB / 0.5635 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.4058, allocations: 19.3 kB / 0.5635 GB, free: 0.707 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.4076, allocations: 1.492 MB / 0.565 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.361e-05/0.4077, allocations: 79.31 kB / 0.5651 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.444e-05/0.4077, allocations: 19.83 kB / 0.5651 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.698e-05/0.4078, allocations: 27.42 kB / 0.5651 GB, free: 14.98 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4078, allocations: 8 kB / 0.5651 GB, free: 14.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.4381, allocations: 3.188 MB / 0.5682 GB, free: 11.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.88, allocations: 15.06 kB / 0.5682 GB, free: 11.82 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.114954238757491]