Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.001883/0.001883, 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.001908/0.001908, allocations: 214.9 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.492/1.492, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2565/0.2565, allocations: 46.92 MB / 360.8 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 179] 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.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 83.88 kB / 0.4963 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3828, allocations: 66.07 MB / 0.5608 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003342/0.3861, allocations: 1.708 MB / 0.5625 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.388, allocations: 1.029 MB / 0.5635 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.627e-05/0.3881, allocations: 0 / 0.5635 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.3884, allocations: 59.73 kB / 0.5635 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.3888, allocations: 91.59 kB / 0.5636 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.3889, allocations: 75.69 kB / 0.5637 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.3891, allocations: 99.69 kB / 0.5638 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.3892, allocations: 4.234 kB / 0.5638 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3893, allocations: 55.77 kB / 0.5638 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.039e-05/0.3894, allocations: 35.73 kB / 0.5639 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3894, allocations: 4 kB / 0.5639 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.242e-05/0.3895, allocations: 27.98 kB / 0.5639 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.626e-05/0.3896, allocations: 31.91 kB / 0.5639 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.007e-05/0.3896, allocations: 35.69 kB / 0.564 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.3898, allocations: 121.3 kB / 0.5641 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3899, allocations: 0 / 0.5641 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3899, allocations: 0 / 0.5641 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.3899, allocations: 3.938 kB / 0.5641 GB, free: 0.7578 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006317/0.3905, allocations: 377.3 kB / 0.5644 GB, free: 368 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3905, allocations: 12.03 kB / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.641e-05/0.3906, allocations: 34.75 kB / 0.5645 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.3906, allocations: 12.89 kB / 0.5645 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.391, allocations: 155.2 kB / 0.5646 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.391, allocations: 4.375 kB / 0.5647 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.391, allocations: 384 / 0.5647 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.3912, allocations: 53.8 kB / 0.5647 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3912, allocations: 3.938 kB / 0.5647 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3912, allocations: 8 kB / 0.5647 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3912, allocations: 0 / 0.5647 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.555e-05/0.3913, allocations: 15.98 kB / 0.5647 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002402/0.3915, allocations: 164.8 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.3917, allocations: 42.62 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.08e-05/0.3917, allocations: 24.84 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.3918, allocations: 0 / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.392, allocations: 71.27 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.392, allocations: 0 / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003023/0.3923, allocations: 93.58 kB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.3923, allocations: 59.41 kB / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.3926, allocations: 270.8 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.3926, allocations: 33.7 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.3927, allocations: 112.1 kB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.3927, allocations: 11.84 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.3928, allocations: 21.72 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3929, allocations: 334.8 kB / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.603e-05/0.393, allocations: 19.92 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-05/0.3931, allocations: 25.7 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.956e-05/0.3932, allocations: 49.95 kB / 0.566 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3932, allocations: 4 kB / 0.566 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000221/0.3934, allocations: 89.47 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3934, allocations: 4 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3934, allocations: 0 / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3934, allocations: 3.938 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.3935, allocations: 19.98 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3935, allocations: 0 / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.3935, allocations: 11.98 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.3936, allocations: 0 / 0.5661 GB, free: 14.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 (7): * Single equations (assignments): 7 * 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.0001789/0.3937, allocations: 135.1 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.3938, allocations: 23.78 kB / 0.5663 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.394, allocations: 86.77 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.394, allocations: 3.984 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.394, allocations: 0 / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.394, allocations: 7.984 kB / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.3942, allocations: 168.7 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3942, allocations: 3.938 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.3942, allocations: 4 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.3942, allocations: 0 / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.3942, allocations: 0 / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3942, allocations: 4 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3942, allocations: 0 / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.3944, allocations: 113 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.975e-05/0.3945, allocations: 19.84 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.3945, allocations: 4.188 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.257e-05/0.3945, allocations: 7.984 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.3946, allocations: 0 / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.3946, allocations: 4 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.3948, allocations: 208.6 kB / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3948, allocations: 0 / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.395, allocations: 15.94 kB / 0.5669 GB, free: 13.57 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: 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 (5): * Single equations (assignments): 3 * 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.002202/0.3972, allocations: 0.9551 MB / 0.5678 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.3974, allocations: 39.98 kB / 0.5679 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3974, allocations: 0 / 0.5679 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.08e-05/0.3975, allocations: 27.91 kB / 0.5679 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.3979, allocations: 23.92 kB / 0.5679 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.4007, allocations: 1.686 MB / 0.5696 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.4011, allocations: 0.7118 MB / 0.5703 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.941e-05/0.4012, allocations: 16.47 kB / 0.5703 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.4013, allocations: 43.42 kB / 0.5703 GB, free: 10.07 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4013, allocations: 4 kB / 0.5703 GB, free: 10.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/0.4373, allocations: 3.652 MB / 0.5739 GB, free: 6.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.33, allocations: 3.938 kB / 0.5739 GB, free: 6.453 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.63852315400436]