Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.00137/0.00137, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001547/0.001547, allocations: 213.8 kB / 24.54 MB, free: 4.02 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.43/1.43, allocations: 230.3 MB / 258 MB, free: 8.207 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.2406/0.2406, allocations: 46.89 MB / 361.3 MB, free: 4.449 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.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 79.86 kB / 0.4966 GB, free: 8.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3956, allocations: 66.03 MB / 0.5611 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003703/0.3993, allocations: 1.842 MB / 0.5629 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.4014, allocations: 1.119 MB / 0.564 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.261e-05/0.4015, allocations: 3.938 kB / 0.564 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005931/0.4021, allocations: 295.3 kB / 0.5643 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005159/0.4026, allocations: 263.2 kB / 0.5645 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.4029, allocations: 103.7 kB / 0.5646 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.4032, allocations: 271.2 kB / 0.5649 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.4033, allocations: 5.812 kB / 0.5649 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.4035, allocations: 135.5 kB / 0.565 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.4037, allocations: 215.9 kB / 0.5652 GB, free: 424 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.4038, allocations: 8 kB / 0.5652 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.4039, allocations: 47.98 kB / 0.5653 GB, free: 368 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.404, allocations: 132.5 kB / 0.5654 GB, free: 236 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.4042, allocations: 150.7 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.4047, allocations: 372.2 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4047, allocations: 4 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4047, allocations: 0 / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.4047, allocations: 0 / 0.5659 GB, free: 15.71 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.001126/0.4058, allocations: 0.75 MB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4058, allocations: 8.031 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.336e-05/0.4059, allocations: 38.73 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.386e-05/0.406, allocations: 52.61 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007176/0.4067, allocations: 452.3 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.4067, allocations: 4.375 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.4067, allocations: 4.375 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.407, allocations: 95.47 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.407, allocations: 0 / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.407, allocations: 4 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.407, allocations: 0 / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.4071, allocations: 31.92 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.4075, allocations: 374.4 kB / 0.5677 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.4078, allocations: 101.2 kB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.4079, allocations: 45.62 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.4079, allocations: 0 / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.4082, allocations: 113 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.4082, allocations: 0 / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005353/0.4087, allocations: 197.7 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.4088, allocations: 93.03 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.4101, allocations: 1.019 MB / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.4101, allocations: 25.7 kB / 0.5692 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.4103, allocations: 236.1 kB / 0.5694 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.4104, allocations: 31.78 kB / 0.5695 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.4104, allocations: 21.72 kB / 0.5695 GB, free: 11.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.4107, allocations: 370.8 kB / 0.5698 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.323e-05/0.4108, allocations: 31.97 kB / 0.5699 GB, free: 11.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.4109, allocations: 63.36 kB / 0.5699 GB, free: 11.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.4111, allocations: 95.41 kB / 0.57 GB, free: 11.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4111, allocations: 0 / 0.57 GB, free: 11.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000316/0.4114, allocations: 173.2 kB / 0.5702 GB, free: 11.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4114, allocations: 10.5 kB / 0.5702 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4114, allocations: 0 / 0.5702 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.4114, allocations: 4 kB / 0.5702 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.4116, allocations: 23.92 kB / 0.5702 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.4116, allocations: 0 / 0.5702 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.4117, allocations: 19.88 kB / 0.5702 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.4117, allocations: 8 kB / 0.5703 GB, free: 10.98 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.0002598/0.412, allocations: 215.2 kB / 0.5705 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.523e-05/0.4121, allocations: 55.61 kB / 0.5705 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/0.4125, allocations: 201.8 kB / 0.5707 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4125, allocations: 0 / 0.5707 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4125, allocations: 256 / 0.5707 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4125, allocations: 3.984 kB / 0.5707 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.4129, allocations: 353.4 kB / 0.571 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.4129, allocations: 3.938 kB / 0.571 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.4129, allocations: 12 kB / 0.5711 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4129, allocations: 0 / 0.5711 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.413, allocations: 8 kB / 0.5711 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.413, allocations: 0 / 0.5711 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.413, allocations: 3.938 kB / 0.5711 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.4133, allocations: 213.5 kB / 0.5713 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.4135, allocations: 148.6 kB / 0.5714 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.4136, allocations: 7.938 kB / 0.5714 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.4136, allocations: 4 kB / 0.5714 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.4137, allocations: 15.97 kB / 0.5714 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.4137, allocations: 4 kB / 0.5714 GB, free: 9.648 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008805/0.4146, allocations: 0.7604 MB / 0.5722 GB, free: 8.891 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4146, allocations: 0 / 0.5722 GB, free: 8.891 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.4149, allocations: 47.98 kB / 0.5722 GB, free: 8.844 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.00206/0.4169, allocations: 1.057 MB / 0.5733 GB, free: 7.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.4172, allocations: 83.89 kB / 0.5733 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4172, allocations: 0 / 0.5733 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.4173, allocations: 40.11 kB / 0.5734 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.4177, allocations: 72.52 kB / 0.5735 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005739/0.4235, allocations: 4.481 MB / 0.5778 GB, free: 3.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/0.424, allocations: 0.8503 MB / 0.5787 GB, free: 2.242 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.4241, allocations: 55.44 kB / 0.5787 GB, free: 2.184 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.4243, allocations: 151.4 kB / 0.5789 GB, free: 2.039 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4243, allocations: 0 / 0.5789 GB, free: 2.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03482/0.4592, allocations: 9.105 MB / 0.5877 GB, free: 8.938 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.449/8.908, allocations: 11.56 kB / 0.5878 GB, free: 8.93 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_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_Test69.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.033498869044706]