Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.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.001835/0.001835, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.002137/0.002137, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.459/1.459, allocations: 230.5 MB / 257.4 MB, free: 8 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.2363/0.2363, allocations: 46.93 MB / 360.8 MB, free: 4.266 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.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 75.88 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3823, allocations: 66.08 MB / 0.5607 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.00312/0.3854, allocations: 1.626 MB / 0.5623 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.3874, allocations: 1.267 MB / 0.5636 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/0.3874, allocations: 3.938 kB / 0.5636 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.3877, allocations: 19.86 kB / 0.5636 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.388, allocations: 83.61 kB / 0.5637 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.3882, allocations: 119 kB / 0.5638 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.3884, allocations: 71.77 kB / 0.5639 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3885, allocations: 9.828 kB / 0.5639 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.973e-05/0.3886, allocations: 27.91 kB / 0.5639 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.3887, allocations: 43.77 kB / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.3887, allocations: 4 kB / 0.5639 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.3889, allocations: 87.95 kB / 0.564 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.389, allocations: 19.91 kB / 0.564 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.389, allocations: 23.88 kB / 0.5641 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.3893, allocations: 147.4 kB / 0.5642 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3893, allocations: 0 / 0.5642 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3893, allocations: 4 kB / 0.5642 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.3893, allocations: 0 / 0.5642 GB, free: 0.7383 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.0005371/0.3898, allocations: 321.7 kB / 0.5645 GB, free: 400 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3899, allocations: 11.97 kB / 0.5645 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.3899, allocations: 38.75 kB / 0.5646 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.3899, allocations: 8.891 kB / 0.5646 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.3901, allocations: 134.4 kB / 0.5647 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.3902, allocations: 384 / 0.5647 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.3902, allocations: 8.312 kB / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.3903, allocations: 71.95 kB / 0.5648 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3904, allocations: 3.938 kB / 0.5648 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.3904, allocations: 0 / 0.5648 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.3904, allocations: 4 kB / 0.5648 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.765e-05/0.3905, allocations: 19.98 kB / 0.5648 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.3909, allocations: 256 kB / 0.565 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.3911, allocations: 46.5 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.3912, allocations: 20.94 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.3912, allocations: 0 / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3912, allocations: 30.56 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.3912, allocations: 0 / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005773/0.3918, allocations: 157.4 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.3918, allocations: 77.11 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.392, allocations: 148 kB / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.392, allocations: 25.7 kB / 0.5655 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.3921, allocations: 100.1 kB / 0.5656 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.3921, allocations: 23.84 kB / 0.5656 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.3922, allocations: 17.72 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3923, allocations: 322.8 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-05/0.3924, allocations: 23.92 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.871e-05/0.3925, allocations: 37.64 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.3926, allocations: 48.83 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3926, allocations: 4 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001979/0.3928, allocations: 89.64 kB / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.3928, allocations: 4 kB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3928, allocations: 0 / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3929, allocations: 4 kB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.573e-05/0.3929, allocations: 11.98 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.3929, allocations: 3.938 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.393, allocations: 4 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.393, allocations: 7.938 kB / 0.5662 GB, free: 14.48 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 9.135e-05/0.3931, allocations: 127.1 kB / 0.5663 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.3931, allocations: 8.203 kB / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.3933, allocations: 98.06 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3934, allocations: 3.984 kB / 0.5664 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3934, allocations: 0 / 0.5664 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3934, allocations: 288 / 0.5664 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.3938, allocations: 333.5 kB / 0.5667 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3938, allocations: 0 / 0.5667 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.3939, allocations: 11.98 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3939, allocations: 0 / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3939, allocations: 7.984 kB / 0.5668 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3939, allocations: 0 / 0.5668 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3939, allocations: 3.938 kB / 0.5668 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.3941, allocations: 191.4 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.3942, allocations: 7.938 kB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.3942, allocations: 0 / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.3942, allocations: 4 kB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.3943, allocations: 15.92 kB / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3943, allocations: 0 / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.399e-05/0.3944, allocations: 113.6 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3944, allocations: 0 / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.3947, allocations: 39.86 kB / 0.5671 GB, free: 13.45 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.002249/0.3969, allocations: 1.108 MB / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.3971, allocations: 51.91 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3971, allocations: 4 kB / 0.5683 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.041e-05/0.3972, allocations: 27.97 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.3976, allocations: 15.94 kB / 0.5683 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.3993, allocations: 1.452 MB / 0.5697 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.3996, allocations: 0.6924 MB / 0.5704 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.596e-05/0.3997, allocations: 19.77 kB / 0.5704 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.3997, allocations: 27.42 kB / 0.5704 GB, free: 10.08 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3997, allocations: 0 / 0.5704 GB, free: 10.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03143/0.4312, allocations: 3.408 MB / 0.5738 GB, free: 6.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.31, allocations: 7.312 kB / 0.5738 GB, free: 6.68 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_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_CombiTable1Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.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.CombiTable1Dv.Test33_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.507514336997701]