Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 75.7 kB / 20.02 MB, free: 4.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 173.9 kB / 23.32 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.919/0.919, allocations: 158.6 MB / 185.1 MB, free: 3.004 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1472/0.1472, allocations: 32.38 MB / 269.7 MB, free: 14.9 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 407.1 MB, free: 2.066 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.41e-05, allocations: 5.938 kB / 407.1 MB, free: 2.062 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002412/0.002436, allocations: 1.758 MB / 408.9 MB, free: 296 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.00352, allocations: 0.8583 MB / 409.7 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.977e-05/0.00362, allocations: 3.938 kB / 409.7 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004932/0.004113, allocations: 303.2 kB / 410 MB, free: 15.12 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003763/0.00449, allocations: 207.2 kB / 410.2 MB, free: 14.92 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.004864, allocations: 135.6 kB / 410.4 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.005198, allocations: 251.2 kB / 410.6 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.918e-05/0.005257, allocations: 5.812 kB / 410.6 MB, free: 14.53 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.005422, allocations: 147.6 kB / 410.8 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.005613, allocations: 196.1 kB / 411 MB, free: 14.2 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.005642, allocations: 15.98 kB / 411 MB, free: 14.18 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.005742, allocations: 43.92 kB / 411 MB, free: 14.14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.00587, allocations: 136.5 kB / 411.2 MB, free: 14 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.686e-05/0.005947, allocations: 71.66 kB / 411.2 MB, free: 13.93 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.006279, allocations: 342.8 kB / 411.6 MB, free: 13.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.006281, allocations: 0 / 411.6 MB, free: 13.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.006283, allocations: 0 / 411.6 MB, free: 13.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.006289, allocations: 0 / 411.6 MB, free: 13.6 MB / 394.7 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.000688/0.006977, allocations: 0.6592 MB / 412.2 MB, free: 12.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.007017, allocations: 11.97 kB / 412.2 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.233e-05/0.007049, allocations: 38.73 kB / 412.3 MB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.007114, allocations: 52.61 kB / 412.3 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005692/0.007684, allocations: 373.9 kB / 412.7 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.007701, allocations: 4.375 kB / 412.7 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.007718, allocations: 4.375 kB / 412.7 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.007945, allocations: 87.67 kB / 412.8 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.007957, allocations: 0 / 412.8 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.007976, allocations: 8 kB / 412.8 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.007983, allocations: 0 / 412.8 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.53e-05/0.008068, allocations: 35.91 kB / 412.8 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.008427, allocations: 321.5 kB / 413.1 MB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.008632, allocations: 113.1 kB / 413.2 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.311e-05/0.008695, allocations: 37.7 kB / 413.3 MB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.008716, allocations: 0 / 413.3 MB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.008917, allocations: 120.9 kB / 413.4 MB, free: 11.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.008919, allocations: 0 / 413.4 MB, free: 11.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004084/0.009327, allocations: 209.2 kB / 413.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.009377, allocations: 89.09 kB / 413.7 MB, free: 11.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007559/0.01013, allocations: 1.014 MB / 414.7 MB, free: 10.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.01015, allocations: 25.7 kB / 414.7 MB, free: 10.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.01029, allocations: 232.1 kB / 415 MB, free: 9.984 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.01033, allocations: 27.8 kB / 415 MB, free: 9.957 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.01038, allocations: 29.7 kB / 415 MB, free: 9.922 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.0105, allocations: 366.8 kB / 415.4 MB, free: 9.555 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.99e-05/0.01056, allocations: 31.98 kB / 415.4 MB, free: 9.523 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.047e-05/0.01062, allocations: 59.41 kB / 415.5 MB, free: 9.453 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.01074, allocations: 91.36 kB / 415.6 MB, free: 9.352 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01074, allocations: 0 / 415.6 MB, free: 9.352 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000192/0.01094, allocations: 177.2 kB / 415.7 MB, free: 9.172 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.01095, allocations: 4 kB / 415.7 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.01096, allocations: 0 / 415.7 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.01097, allocations: 4.062 kB / 415.7 MB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.622e-05/0.01106, allocations: 27.92 kB / 415.8 MB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01106, allocations: 7.938 kB / 415.8 MB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.939e-05/0.01112, allocations: 20.5 kB / 415.8 MB, free: 9.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.01113, allocations: 4 kB / 415.8 MB, free: 9.105 MB / 394.7 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.000156/0.01129, allocations: 217.6 kB / 416 MB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.01133, allocations: 59.61 kB / 416.1 MB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.01161, allocations: 205.6 kB / 416.3 MB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.01162, allocations: 0 / 416.3 MB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.01162, allocations: 4 kB / 416.3 MB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.01163, allocations: 0 / 416.3 MB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.01188, allocations: 288.6 kB / 416.5 MB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01188, allocations: 0 / 416.5 MB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.01191, allocations: 15.92 kB / 416.6 MB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.01192, allocations: 3.938 kB / 416.6 MB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.01193, allocations: 4 kB / 416.6 MB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.01193, allocations: 0 / 416.6 MB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.01193, allocations: 0 / 416.6 MB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.01218, allocations: 213.5 kB / 416.8 MB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.01226, allocations: 83.47 kB / 416.9 MB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.01229, allocations: 0 / 416.9 MB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.01233, allocations: 7.984 kB / 416.9 MB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.01239, allocations: 15.92 kB / 416.9 MB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.01242, allocations: 8 kB / 416.9 MB, free: 7.922 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006287/0.01305, allocations: 0.7526 MB / 417.6 MB, free: 7.172 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01305, allocations: 0 / 417.6 MB, free: 7.172 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002302/0.01328, allocations: 40 kB / 417.7 MB, free: 7.133 MB / 394.7 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.001117/0.01439, allocations: 1.096 MB / 418.8 MB, free: 6.039 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.01459, allocations: 87.83 kB / 418.9 MB, free: 5.953 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01459, allocations: 4 kB / 418.9 MB, free: 5.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.519e-05/0.01465, allocations: 39.97 kB / 418.9 MB, free: 5.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.01497, allocations: 70.12 kB / 419 MB, free: 5.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/0.01895, allocations: 4.47 MB / 423.4 MB, free: 1.262 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.0191, allocations: 237.8 kB / 423.7 MB, free: 1.004 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.068e-05/0.01919, allocations: 58.94 kB / 423.7 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.01932, allocations: 148.4 kB / 423.9 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01932, allocations: 0 / 423.9 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.03987, allocations: 9.814 MB / 433.7 MB, free: 6.844 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.896/6.935, allocations: 11.88 kB / 433.7 MB, free: 6.832 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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: 9.209012445993721]