Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001798/0.001798, 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.002228/0.002228, allocations: 209.7 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2226/0.2226, allocations: 44.93 MB / 358.8 MB, free: 6.055 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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",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.002106/0.002106, allocations: 70.31 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3724, allocations: 65.48 MB / 0.557 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003424/0.3758, allocations: 1.611 MB / 0.5586 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.3769, allocations: 0.5417 MB / 0.5591 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/0.3769, allocations: 0 / 0.5591 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006349/0.3776, allocations: 459.1 kB / 0.5595 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004846/0.3781, allocations: 295.3 kB / 0.5598 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.3785, allocations: 175.3 kB / 0.56 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.3787, allocations: 179.5 kB / 0.5601 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3789, allocations: 8 kB / 0.5601 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.379, allocations: 115.7 kB / 0.5603 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.3793, allocations: 243.5 kB / 0.5605 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.3793, allocations: 4 kB / 0.5605 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.379e-05/0.3794, allocations: 31.92 kB / 0.5605 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.3795, allocations: 84.69 kB / 0.5606 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.361e-05/0.3796, allocations: 75.22 kB / 0.5607 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.3799, allocations: 268.4 kB / 0.5609 GB, free: 3.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3799, allocations: 0 / 0.5609 GB, free: 3.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3799, allocations: 0 / 0.5609 GB, free: 3.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3799, allocations: 0 / 0.5609 GB, free: 3.496 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.000861/0.3808, allocations: 0.5893 MB / 0.5615 GB, free: 2.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3808, allocations: 8.031 kB / 0.5615 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.3809, allocations: 30.75 kB / 0.5615 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.273e-05/0.381, allocations: 44.66 kB / 0.5616 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.3813, allocations: 254.7 kB / 0.5618 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.3813, allocations: 384 / 0.5618 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.3813, allocations: 4.375 kB / 0.5618 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.3815, allocations: 53.61 kB / 0.5619 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3815, allocations: 7.984 kB / 0.5619 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3815, allocations: 8 kB / 0.5619 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3815, allocations: 0 / 0.5619 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.3816, allocations: 35.95 kB / 0.5619 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.3822, allocations: 371.8 kB / 0.5623 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.3823, allocations: 42.56 kB / 0.5623 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.035e-05/0.3824, allocations: 20.94 kB / 0.5624 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.3824, allocations: 4 kB / 0.5624 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.3825, allocations: 38.55 kB / 0.5624 GB, free: 1.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.3825, allocations: 0 / 0.5624 GB, free: 1.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004019/0.3829, allocations: 129.3 kB / 0.5625 GB, free: 1.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.3829, allocations: 55.39 kB / 0.5626 GB, free: 1.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009788/0.3839, allocations: 0.8776 MB / 0.5634 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.3839, allocations: 25.7 kB / 0.5634 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.3841, allocations: 216 kB / 0.5637 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.3842, allocations: 11.84 kB / 0.5637 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.3842, allocations: 21.7 kB / 0.5637 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002402/0.3844, allocations: 366.7 kB / 0.564 GB, free: 128 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.797e-05/0.3845, allocations: 11.98 kB / 0.564 GB, free: 116 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.3846, allocations: 23.97 kB / 0.5641 GB, free: 92 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.3847, allocations: 48.83 kB / 0.5641 GB, free: 40 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3847, allocations: 0 / 0.5641 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002466/0.3849, allocations: 117.5 kB / 0.5642 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.385, allocations: 6.812 kB / 0.5642 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.385, allocations: 0 / 0.5642 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.385, allocations: 0 / 0.5642 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.935e-05/0.3851, allocations: 8 kB / 0.5642 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3851, allocations: 4 kB / 0.5642 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.104e-05/0.3851, allocations: 7.984 kB / 0.5643 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3852, allocations: 0 / 0.5643 GB, free: 15.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 (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.0002348/0.3854, allocations: 217.5 kB / 0.5645 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.3855, allocations: 43.72 kB / 0.5645 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.3857, allocations: 129.1 kB / 0.5646 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3857, allocations: 0 / 0.5646 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3858, allocations: 0 / 0.5646 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3858, allocations: 0 / 0.5646 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.3861, allocations: 264.6 kB / 0.5649 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3861, allocations: 4.375 kB / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.3861, allocations: 4 kB / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3861, allocations: 0 / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3861, allocations: 4 kB / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3861, allocations: 0 / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3861, allocations: 0 / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.3865, allocations: 223.1 kB / 0.5651 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.3865, allocations: 39.66 kB / 0.5651 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.3865, allocations: 4 kB / 0.5651 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.963e-05/0.3866, allocations: 11.98 kB / 0.5652 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.3866, allocations: 0 / 0.5652 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.3866, allocations: 0 / 0.5652 GB, free: 14.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006928/0.3873, allocations: 0.6589 MB / 0.5658 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3873, allocations: 3.938 kB / 0.5658 GB, free: 14.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.3876, allocations: 31.88 kB / 0.5658 GB, free: 14.2 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.00193/0.3895, allocations: 1.006 MB / 0.5668 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.3897, allocations: 43.91 kB / 0.5669 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3897, allocations: 0 / 0.5669 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.343e-05/0.3898, allocations: 27.97 kB / 0.5669 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.3903, allocations: 18.31 kB / 0.5669 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.3944, allocations: 3.218 MB / 0.57 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.3946, allocations: 220.2 kB / 0.5703 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.101e-05/0.3947, allocations: 27.73 kB / 0.5703 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.3949, allocations: 111.4 kB / 0.5704 GB, free: 9.551 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3949, allocations: 0 / 0.5704 GB, free: 9.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/0.4279, allocations: 6.341 MB / 0.5766 GB, free: 3.254 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.36, allocations: 7.234 kB / 0.5766 GB, free: 3.25 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.856028596870601]