Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.001414/0.001414, allocations: 116.7 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.00161/0.00161, allocations: 213.6 kB / 23.74 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.442/1.442, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.2274/0.2274, allocations: 46.93 MB / 360.8 MB, free: 4.207 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.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002463, allocations: 75.88 kB / 0.4963 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3113, allocations: 66.08 MB / 0.5608 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.004107/0.3155, allocations: 1.83 MB / 0.5626 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.3177, allocations: 1.127 MB / 0.5637 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.3178, allocations: 4 kB / 0.5637 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005941/0.3184, allocations: 307.2 kB / 0.564 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005203/0.3189, allocations: 263.2 kB / 0.5642 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.3192, allocations: 103.7 kB / 0.5643 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000342/0.3195, allocations: 267.2 kB / 0.5646 GB, free: 388 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.415e-05/0.3196, allocations: 9.812 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.3198, allocations: 143.5 kB / 0.5647 GB, free: 232 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.3201, allocations: 211.5 kB / 0.5649 GB, free: 20 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.3202, allocations: 12 kB / 0.5649 GB, free: 8 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.3203, allocations: 52.02 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.3205, allocations: 135.5 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.3208, allocations: 154.8 kB / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006792/0.3215, allocations: 376 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3215, allocations: 0 / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3215, allocations: 0 / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.3215, allocations: 0 / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001381/0.3229, allocations: 0.6941 MB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.3229, allocations: 16.03 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.79e-05/0.323, allocations: 30.75 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.3231, allocations: 56.61 kB / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.3241, allocations: 402.5 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.3241, allocations: 4.375 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.3241, allocations: 384 / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.3244, allocations: 99.42 kB / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3245, allocations: 4 kB / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3245, allocations: 0 / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3245, allocations: 0 / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.3246, allocations: 27.98 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.3252, allocations: 353.4 kB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.3256, allocations: 109.2 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.3258, allocations: 29.7 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.3258, allocations: 7.984 kB / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003367/0.3261, allocations: 116.9 kB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.3261, allocations: 0 / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006994/0.3268, allocations: 201.2 kB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.3269, allocations: 81.11 kB / 0.5678 GB, free: 12.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.3288, allocations: 1.058 MB / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.3288, allocations: 29.7 kB / 0.5688 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.3291, allocations: 236.1 kB / 0.5691 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.236e-05/0.3291, allocations: 27.81 kB / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/0.3292, allocations: 29.7 kB / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002686/0.3295, allocations: 370.8 kB / 0.5695 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3296, allocations: 31.98 kB / 0.5695 GB, free: 11.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.3298, allocations: 59.34 kB / 0.5696 GB, free: 11.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.3301, allocations: 87.86 kB / 0.5696 GB, free: 10.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3301, allocations: 0 / 0.5696 GB, free: 10.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005217/0.3306, allocations: 185.2 kB / 0.5698 GB, free: 10.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.3306, allocations: 5.875 kB / 0.5698 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.3306, allocations: 3.938 kB / 0.5698 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.3307, allocations: 4 kB / 0.5698 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.3308, allocations: 24.05 kB / 0.5698 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.3308, allocations: 7.938 kB / 0.5699 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.331, allocations: 7.938 kB / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.331, allocations: 8 kB / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0003494/0.3314, allocations: 220 kB / 0.5701 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.3315, allocations: 59.56 kB / 0.5701 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00066/0.3322, allocations: 197.8 kB / 0.5703 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3322, allocations: 4 kB / 0.5703 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3322, allocations: 0 / 0.5703 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.3322, allocations: 4 kB / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.3327, allocations: 316.5 kB / 0.5706 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.3327, allocations: 7.938 kB / 0.5706 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/0.3328, allocations: 12 kB / 0.5707 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3328, allocations: 3.984 kB / 0.5707 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.3328, allocations: 4 kB / 0.5707 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3328, allocations: 0 / 0.5707 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3328, allocations: 3.938 kB / 0.5707 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.3333, allocations: 217.8 kB / 0.5709 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.3335, allocations: 71.53 kB / 0.5709 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/0.3336, allocations: 12 kB / 0.571 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3337, allocations: 3.984 kB / 0.571 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.3338, allocations: 7.984 kB / 0.571 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.3338, allocations: 12 kB / 0.571 GB, free: 9.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001399/0.3352, allocations: 0.7839 MB / 0.5717 GB, free: 8.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3352, allocations: 3.938 kB / 0.5717 GB, free: 8.695 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005612/0.3358, allocations: 40 kB / 0.5718 GB, free: 8.656 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002809/0.3386, allocations: 1.057 MB / 0.5728 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003674/0.3389, allocations: 80.02 kB / 0.5729 GB, free: 7.629 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3389, allocations: 4 kB / 0.5729 GB, free: 7.625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.3391, allocations: 40.05 kB / 0.5729 GB, free: 7.586 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006191/0.3397, allocations: 68.39 kB / 0.573 GB, free: 7.523 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009759/0.3495, allocations: 4.578 MB / 0.5775 GB, free: 2.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008218/0.3503, allocations: 0.8507 MB / 0.5783 GB, free: 1.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002279/0.3505, allocations: 50.95 kB / 0.5783 GB, free: 1.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/0.3509, allocations: 155.4 kB / 0.5785 GB, free: 1.762 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3509, allocations: 0 / 0.5785 GB, free: 1.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05604/0.4069, allocations: 9.384 MB / 0.5877 GB, free: 8.414 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.18, allocations: 8 kB / 0.5877 GB, free: 8.406 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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: 15.254139422002481]