Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.001651/0.001651, 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.001874/0.001874, 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.54/1.54, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2208/0.2208, allocations: 46.92 MB / 360.8 MB, free: 4.164 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.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 79.88 kB / 0.4963 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3121, allocations: 66.08 MB / 0.5608 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003185/0.3153, allocations: 1.842 MB / 0.5626 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.3173, allocations: 1.119 MB / 0.5637 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.048e-05/0.3174, allocations: 3.938 kB / 0.5637 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006044/0.318, allocations: 307.3 kB / 0.564 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005027/0.3185, allocations: 255.2 kB / 0.5642 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.3188, allocations: 111.7 kB / 0.5643 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003489/0.3191, allocations: 271.2 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.3192, allocations: 5.812 kB / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.3194, allocations: 139.5 kB / 0.5647 GB, free: 228 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.3196, allocations: 219.4 kB / 0.5649 GB, free: 8 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.3197, allocations: 8 kB / 0.5649 GB, free: 0 / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.3198, allocations: 47.98 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.3199, allocations: 139.6 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.3201, allocations: 150.7 kB / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.3205, allocations: 380 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3205, allocations: 0 / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3205, allocations: 4 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3205, allocations: 0 / 0.5656 GB, free: 15.29 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.0009898/0.3215, allocations: 0.6864 MB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.3216, allocations: 11.97 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.3216, allocations: 34.75 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.191e-05/0.3217, allocations: 56.59 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/0.3223, allocations: 402.4 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3223, allocations: 4.375 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.3224, allocations: 8.359 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.3226, allocations: 87.5 kB / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.3226, allocations: 0 / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3226, allocations: 0 / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3226, allocations: 4 kB / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.3227, allocations: 35.91 kB / 0.5669 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.3231, allocations: 353.4 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.3234, allocations: 101.2 kB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.864e-05/0.3235, allocations: 41.69 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.3235, allocations: 4 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.3238, allocations: 109 kB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.3238, allocations: 3.938 kB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005229/0.3243, allocations: 197.2 kB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.3244, allocations: 89.03 kB / 0.5678 GB, free: 12.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.3256, allocations: 1.054 MB / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.3256, allocations: 29.7 kB / 0.5688 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.3258, allocations: 236.1 kB / 0.5691 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.3258, allocations: 35.78 kB / 0.5691 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.3259, allocations: 21.72 kB / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.3261, allocations: 374.8 kB / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.011e-05/0.3262, allocations: 31.98 kB / 0.5695 GB, free: 11.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3263, allocations: 62.55 kB / 0.5696 GB, free: 11.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.3264, allocations: 87.34 kB / 0.5696 GB, free: 10.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3264, allocations: 4 kB / 0.5696 GB, free: 10.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003039/0.3268, allocations: 173.2 kB / 0.5698 GB, free: 10.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3268, allocations: 4 kB / 0.5698 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3268, allocations: 4.625 kB / 0.5698 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3268, allocations: 3.938 kB / 0.5698 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.3269, allocations: 27.92 kB / 0.5698 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3269, allocations: 0 / 0.5698 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.327, allocations: 15.92 kB / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.327, allocations: 8 kB / 0.5699 GB, free: 10.69 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.0002319/0.3273, allocations: 228 kB / 0.5701 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/0.3273, allocations: 59.56 kB / 0.5701 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/0.3277, allocations: 193.8 kB / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.3277, allocations: 4 kB / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3278, allocations: 0 / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3278, allocations: 0 / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.3281, allocations: 316.5 kB / 0.5706 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3281, allocations: 3.938 kB / 0.5706 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.3282, allocations: 15.92 kB / 0.5707 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.3282, allocations: 8 kB / 0.5707 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.3282, allocations: 3.984 kB / 0.5707 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3282, allocations: 0 / 0.5707 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3282, allocations: 0 / 0.5707 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.3285, allocations: 213.5 kB / 0.5709 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.3287, allocations: 67.53 kB / 0.5709 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.3287, allocations: 11.98 kB / 0.5709 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.089e-05/0.3288, allocations: 8 kB / 0.571 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.3288, allocations: 11.92 kB / 0.571 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.3289, allocations: 8 kB / 0.571 GB, free: 9.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008518/0.3297, allocations: 0.78 MB / 0.5717 GB, free: 8.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3297, allocations: 0 / 0.5717 GB, free: 8.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.33, allocations: 47.98 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.002164/0.3321, allocations: 1.066 MB / 0.5728 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.3324, allocations: 79.91 kB / 0.5729 GB, free: 7.621 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3324, allocations: 0 / 0.5729 GB, free: 7.621 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.3325, allocations: 35.98 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.0004243/0.3329, allocations: 73.64 kB / 0.573 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00572/0.3387, allocations: 4.571 MB / 0.5775 GB, free: 2.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.3392, allocations: 0.8507 MB / 0.5783 GB, free: 1.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.3393, allocations: 58.94 kB / 0.5784 GB, free: 1.902 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.3395, allocations: 155.4 kB / 0.5785 GB, free: 1.754 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3395, allocations: 0 / 0.5785 GB, free: 1.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03597/0.3755, allocations: 9.382 MB / 0.5877 GB, free: 8.406 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.13, allocations: 0 / 0.5877 GB, free: 8.406 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.283734212003765]