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.00183/0.00183, allocations: 110.4 kB / 21.1 MB, free: 0.7891 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.002197/0.002197, allocations: 205.4 kB / 24.38 MB, free: 4.203 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.461/1.461, allocations: 230.2 MB / 257.7 MB, free: 8.297 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.2184/0.2184, allocations: 46.88 MB / 361 MB, free: 4.602 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.002365/0.002365, allocations: 88.03 kB / 0.4962 GB, free: 8.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3087, allocations: 66.02 MB / 0.5607 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003413/0.3121, allocations: 1.837 MB / 0.5625 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.314, allocations: 1.119 MB / 0.5636 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.922e-05/0.3141, allocations: 0 / 0.5636 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005262/0.3146, allocations: 315.2 kB / 0.5639 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004907/0.3151, allocations: 259.2 kB / 0.5641 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.3154, allocations: 103.7 kB / 0.5642 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.3157, allocations: 271.2 kB / 0.5645 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.399e-05/0.3158, allocations: 5.812 kB / 0.5645 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.316, allocations: 139.5 kB / 0.5646 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.3162, allocations: 211.5 kB / 0.5648 GB, free: 472 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.3163, allocations: 15.94 kB / 0.5649 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.3164, allocations: 55.97 kB / 0.5649 GB, free: 400 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.3165, allocations: 135.6 kB / 0.565 GB, free: 264 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.3167, allocations: 146.8 kB / 0.5652 GB, free: 116 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004591/0.3171, allocations: 383.9 kB / 0.5655 GB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3171, allocations: 0 / 0.5655 GB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3171, allocations: 0 / 0.5655 GB, free: 15.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.3171, allocations: 0 / 0.5655 GB, free: 15.74 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.0009889/0.3181, allocations: 0.7578 MB / 0.5663 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3182, allocations: 15.97 kB / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.3182, allocations: 38.69 kB / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.249e-05/0.3183, allocations: 52.61 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006546/0.3189, allocations: 460.3 kB / 0.5668 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.319, allocations: 12.36 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.319, allocations: 384 / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.3192, allocations: 87.5 kB / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3192, allocations: 0 / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3192, allocations: 11.98 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3192, allocations: 0 / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.3193, allocations: 27.92 kB / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.3197, allocations: 390.3 kB / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.32, allocations: 97.23 kB / 0.5674 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.689e-05/0.3201, allocations: 37.7 kB / 0.5675 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.3201, allocations: 3.938 kB / 0.5675 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.3204, allocations: 113 kB / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.3204, allocations: 0 / 0.5676 GB, free: 13.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005375/0.3209, allocations: 201.2 kB / 0.5678 GB, free: 13.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.321, allocations: 81.11 kB / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.3222, allocations: 1.046 MB / 0.5689 GB, free: 12.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.3222, allocations: 29.7 kB / 0.5689 GB, free: 12.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.3224, allocations: 240.1 kB / 0.5691 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.3224, allocations: 35.73 kB / 0.5692 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.3225, allocations: 33.7 kB / 0.5692 GB, free: 11.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.3227, allocations: 374.7 kB / 0.5695 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-05/0.3228, allocations: 27.98 kB / 0.5696 GB, free: 11.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.866e-05/0.3229, allocations: 51.42 kB / 0.5696 GB, free: 11.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.3231, allocations: 95.34 kB / 0.5697 GB, free: 11.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3231, allocations: 0 / 0.5697 GB, free: 11.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003142/0.3234, allocations: 173.7 kB / 0.5699 GB, free: 11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3234, allocations: 4 kB / 0.5699 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3234, allocations: 0 / 0.5699 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.3234, allocations: 11.92 kB / 0.5699 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3236, allocations: 28 kB / 0.5699 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3236, allocations: 8.062 kB / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-05/0.3237, allocations: 11.92 kB / 0.5699 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.3237, allocations: 7.984 kB / 0.5699 GB, free: 10.93 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.0002419/0.3239, allocations: 227 kB / 0.5702 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.324, allocations: 55.56 kB / 0.5702 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/0.3244, allocations: 205.8 kB / 0.5704 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3244, allocations: 4 kB / 0.5704 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3244, allocations: 4 kB / 0.5704 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3244, allocations: 0 / 0.5704 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.3248, allocations: 345.4 kB / 0.5707 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3248, allocations: 3.938 kB / 0.5707 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.706e-05/0.3248, allocations: 19.92 kB / 0.5708 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3248, allocations: 0 / 0.5708 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3248, allocations: 4 kB / 0.5708 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3248, allocations: 0 / 0.5708 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3248, allocations: 0 / 0.5708 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.3252, allocations: 221.5 kB / 0.571 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.3253, allocations: 148.6 kB / 0.5711 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.3254, allocations: 4 kB / 0.5711 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.806e-05/0.3254, allocations: 4 kB / 0.5711 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.3255, allocations: 7.984 kB / 0.5711 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.3255, allocations: 11.98 kB / 0.5712 GB, free: 9.586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008384/0.3264, allocations: 0.78 MB / 0.5719 GB, free: 8.809 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3264, allocations: 4 kB / 0.5719 GB, free: 8.805 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.3266, allocations: 44 kB / 0.572 GB, free: 8.762 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.002081/0.3287, allocations: 1.053 MB / 0.573 GB, free: 7.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.329, allocations: 79.91 kB / 0.5731 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.329, allocations: 4 kB / 0.5731 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.3291, allocations: 39.91 kB / 0.5731 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.3295, allocations: 75.84 kB / 0.5732 GB, free: 7.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0058/0.3353, allocations: 4.582 MB / 0.5777 GB, free: 2.941 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.3358, allocations: 0.8507 MB / 0.5785 GB, free: 2.066 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001498/0.3359, allocations: 62.92 kB / 0.5785 GB, free: 2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.3362, allocations: 155.4 kB / 0.5787 GB, free: 1.852 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3362, allocations: 4 kB / 0.5787 GB, free: 1.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.3683, allocations: 9.255 MB / 0.5877 GB, free: 8.594 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.833/9.202, allocations: 7.359 kB / 0.5877 GB, free: 8.59 MB / 430.1 MB " [Timeout remaining time 651] (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.0.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: 12.239714697003365]