Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001752/0.001752, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002367/0.002367, allocations: 207.9 kB / 23.73 MB, free: 4.391 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.55/1.55, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.2298/0.2298, allocations: 46.95 MB / 360.8 MB, free: 3.922 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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003129/0.003129, allocations: 79.88 kB / 0.4962 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3889, allocations: 66.09 MB / 0.5607 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003177/0.3921, allocations: 1.582 MB / 0.5623 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.3941, allocations: 1.239 MB / 0.5635 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.3942, allocations: 0 / 0.5635 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.3944, allocations: 19.8 kB / 0.5635 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.3948, allocations: 87.61 kB / 0.5636 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.395, allocations: 91.7 kB / 0.5637 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.3951, allocations: 67.83 kB / 0.5637 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.952e-05/0.3952, allocations: 9.828 kB / 0.5637 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.567e-05/0.3953, allocations: 31.84 kB / 0.5638 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3954, allocations: 27.8 kB / 0.5638 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.3954, allocations: 8 kB / 0.5638 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.3956, allocations: 91.94 kB / 0.5639 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.3956, allocations: 11.92 kB / 0.5639 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.3956, allocations: 27.86 kB / 0.5639 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.3959, allocations: 139.5 kB / 0.5641 GB, free: 476 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3959, allocations: 0 / 0.5641 GB, free: 476 kB / 398.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3959, allocations: 0 / 0.5641 GB, free: 476 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.3959, allocations: 0 / 0.5641 GB, free: 476 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.0004779/0.3964, allocations: 321.7 kB / 0.5644 GB, free: 120 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3964, allocations: 12.03 kB / 0.5644 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.3965, allocations: 34.69 kB / 0.5644 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.3965, allocations: 16.89 kB / 0.5644 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.3967, allocations: 138.3 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3967, allocations: 384 / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.3967, allocations: 8.312 kB / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.3969, allocations: 89.66 kB / 0.5646 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.3969, allocations: 7.922 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.397, allocations: 0 / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.397, allocations: 4 kB / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.756e-05/0.397, allocations: 19.98 kB / 0.5647 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.3974, allocations: 247.9 kB / 0.5649 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.3976, allocations: 42.55 kB / 0.565 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.3977, allocations: 12.86 kB / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.3977, allocations: 4 kB / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.3977, allocations: 30.56 kB / 0.565 GB, free: 15.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3977, allocations: 0 / 0.565 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005528/0.3983, allocations: 145.5 kB / 0.5651 GB, free: 15.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.3984, allocations: 81.11 kB / 0.5652 GB, free: 15.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.3985, allocations: 143.9 kB / 0.5654 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3985, allocations: 29.7 kB / 0.5654 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.3986, allocations: 96.06 kB / 0.5655 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.3986, allocations: 15.86 kB / 0.5655 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.3987, allocations: 17.72 kB / 0.5655 GB, free: 14.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3988, allocations: 326.8 kB / 0.5658 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.459e-05/0.3989, allocations: 15.98 kB / 0.5658 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.304e-05/0.399, allocations: 71.41 kB / 0.5659 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.3991, allocations: 44.83 kB / 0.5659 GB, free: 14.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3991, allocations: 0 / 0.5659 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001781/0.3993, allocations: 81.56 kB / 0.566 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3993, allocations: 8 kB / 0.566 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3993, allocations: 3.984 kB / 0.566 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3993, allocations: 0 / 0.566 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.989e-05/0.3994, allocations: 8 kB / 0.566 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3994, allocations: 12.02 kB / 0.5661 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.3994, allocations: 7.922 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.3994, allocations: 4 kB / 0.5661 GB, free: 14.18 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 (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.803e-05/0.3995, allocations: 117.8 kB / 0.5662 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.3995, allocations: 7.953 kB / 0.5662 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.3998, allocations: 90.06 kB / 0.5663 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3998, allocations: 0 / 0.5663 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3998, allocations: 0 / 0.5663 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3998, allocations: 7.984 kB / 0.5663 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.4002, allocations: 313.5 kB / 0.5666 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4002, allocations: 0 / 0.5666 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.4003, allocations: 16.3 kB / 0.5666 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4003, allocations: 0 / 0.5666 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.4003, allocations: 4 kB / 0.5666 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4003, allocations: 0 / 0.5666 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4003, allocations: 3.938 kB / 0.5666 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.4005, allocations: 183.4 kB / 0.5668 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.4005, allocations: 11.95 kB / 0.5668 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.4005, allocations: 0 / 0.5668 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.4006, allocations: 7.984 kB / 0.5668 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.4006, allocations: 7.938 kB / 0.5668 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.4006, allocations: 0 / 0.5668 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.955e-05/0.4007, allocations: 117.3 kB / 0.5669 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4007, allocations: 0 / 0.5669 GB, free: 13.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.401, allocations: 39.86 kB / 0.5669 GB, free: 13.18 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 (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.002219/0.4033, allocations: 1.13 MB / 0.5681 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.4034, allocations: 47.91 kB / 0.5681 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4035, allocations: 0 / 0.5681 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.256e-05/0.4035, allocations: 23.98 kB / 0.5681 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.4039, allocations: 19.92 kB / 0.5681 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.4056, allocations: 1.44 MB / 0.5695 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.173e-05/0.4056, allocations: 79.06 kB / 0.5696 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.314e-05/0.4057, allocations: 16.03 kB / 0.5696 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.094e-05/0.4058, allocations: 27.42 kB / 0.5697 GB, free: 10.46 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4058, allocations: 4 kB / 0.5697 GB, free: 10.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/0.4367, allocations: 3.816 MB / 0.5734 GB, free: 6.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.56, allocations: 17.2 kB / 0.5734 GB, free: 6.629 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.84421015996486]