Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001286/0.001286, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001487/0.001487, allocations: 214.3 kB / 23.73 MB, free: 4.164 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.452/1.452, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2374/0.2374, allocations: 46.96 MB / 360.8 MB, free: 3.91 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.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 79.88 kB / 0.4962 GB, free: 7.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3861, allocations: 66.08 MB / 0.5608 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003187/0.3893, allocations: 1.74 MB / 0.5625 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.391, allocations: 0.971 MB / 0.5634 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.219e-05/0.3911, allocations: 7.938 kB / 0.5634 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.3914, allocations: 99.67 kB / 0.5635 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.3917, allocations: 127.5 kB / 0.5636 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.3919, allocations: 79.66 kB / 0.5637 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.3921, allocations: 143.6 kB / 0.5638 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.571e-05/0.3921, allocations: 13.81 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.895e-05/0.3922, allocations: 63.75 kB / 0.5639 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.3923, allocations: 75.73 kB / 0.564 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.3924, allocations: 4 kB / 0.564 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.3925, allocations: 59.98 kB / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.3926, allocations: 31.84 kB / 0.5641 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/0.3927, allocations: 39.73 kB / 0.5641 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.3929, allocations: 159.3 kB / 0.5643 GB, free: 396 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3929, allocations: 0 / 0.5643 GB, free: 396 kB / 398.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3929, allocations: 0 / 0.5643 GB, free: 396 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3929, allocations: 4 kB / 0.5643 GB, free: 392 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.0006154/0.3935, allocations: 390.5 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3936, allocations: 12.03 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.417e-05/0.3936, allocations: 34.75 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.3937, allocations: 16.84 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.3939, allocations: 163.2 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.3939, allocations: 8.297 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.394, allocations: 4.375 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.3941, allocations: 72.47 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3941, allocations: 4 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.3941, allocations: 0 / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3941, allocations: 4 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.3942, allocations: 35.97 kB / 0.565 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.3947, allocations: 299.8 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.3949, allocations: 70.55 kB / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.395, allocations: 24.84 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.395, allocations: 4 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.3951, allocations: 79.41 kB / 0.5654 GB, free: 15.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.3951, allocations: 4 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008382/0.396, allocations: 301.6 kB / 0.5657 GB, free: 14.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.396, allocations: 55.41 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.3963, allocations: 263.8 kB / 0.566 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.3963, allocations: 25.7 kB / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.833e-05/0.3964, allocations: 116.1 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/0.3965, allocations: 43.62 kB / 0.5662 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.3965, allocations: 33.7 kB / 0.5662 GB, free: 14.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3967, allocations: 322.8 kB / 0.5666 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.158e-05/0.3968, allocations: 39.98 kB / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.545e-05/0.3969, allocations: 53.69 kB / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.397, allocations: 93.64 kB / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.397, allocations: 0 / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002667/0.3973, allocations: 149.5 kB / 0.5669 GB, free: 13.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3973, allocations: 11.92 kB / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.3973, allocations: 0 / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3974, allocations: 4 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.454e-05/0.3974, allocations: 20.03 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3974, allocations: 7.984 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.549e-05/0.3975, allocations: 4 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3975, allocations: 4 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001347/0.3976, allocations: 137.8 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.3977, allocations: 23.8 kB / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.398, allocations: 175 kB / 0.5672 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.398, allocations: 0 / 0.5672 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.398, allocations: 0 / 0.5672 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.398, allocations: 4 kB / 0.5673 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006171/0.3986, allocations: 463 kB / 0.5677 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3986, allocations: 0 / 0.5677 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/0.3987, allocations: 19.98 kB / 0.5677 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3987, allocations: 0 / 0.5677 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.3987, allocations: 8 kB / 0.5677 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3987, allocations: 0 / 0.5677 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3987, allocations: 4 kB / 0.5677 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.3991, allocations: 277.3 kB / 0.568 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.3991, allocations: 19.95 kB / 0.568 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.3991, allocations: 8 kB / 0.568 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.455e-05/0.3992, allocations: 0 / 0.568 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.3992, allocations: 11.98 kB / 0.568 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.3993, allocations: 11.98 kB / 0.568 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.3994, allocations: 197.5 kB / 0.5682 GB, free: 12.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3994, allocations: 0 / 0.5682 GB, free: 12.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.3997, allocations: 39.86 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002544/0.4023, allocations: 1.234 MB / 0.5695 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.4025, allocations: 91.89 kB / 0.5696 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4025, allocations: 0 / 0.5696 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.4026, allocations: 47.92 kB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.403, allocations: 42.22 kB / 0.5696 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.4053, allocations: 1.975 MB / 0.5716 GB, free: 8.684 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.4055, allocations: 118.7 kB / 0.5717 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.587e-05/0.4055, allocations: 29.06 kB / 0.5717 GB, free: 8.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.4056, allocations: 51.42 kB / 0.5718 GB, free: 8.469 MB / 414.1 MB Notification: Performance of SimCode: time 4.8e-07/0.4056, allocations: 3.938 kB / 0.5718 GB, free: 8.465 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0317/0.4373, allocations: 4.924 MB / 0.5766 GB, free: 3.574 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.43, allocations: 10.27 kB / 0.5766 GB, free: 3.566 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.CombiTimeTable.Test8_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.660265508107841]