Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.0009241/0.0009241, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.001525/0.001525, allocations: 170.3 kB / 23.21 MB, free: 1.352 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.867/0.867, allocations: 158.6 MB / 185 MB, free: 3.047 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.1283/0.1283, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28e-05/1.412e-05, allocations: 6.078 kB / 406.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.00204/0.002054, allocations: 1.672 MB / 408.6 MB, free: 480 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008848/0.002939, allocations: 0.7842 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/0.003005, allocations: 0 / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.003283, allocations: 47.77 kB / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.003482, allocations: 71.62 kB / 409.5 MB, free: 15.56 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.003679, allocations: 83.69 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.003812, allocations: 99.69 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.057e-05/0.003893, allocations: 4.234 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.169e-05/0.003964, allocations: 55.77 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.311e-05/0.004027, allocations: 27.91 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.004043, allocations: 4 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.314e-05/0.004117, allocations: 47.92 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.004167, allocations: 27.86 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.004204, allocations: 27.91 kB / 409.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.004366, allocations: 119.6 kB / 410 MB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004368, allocations: 4 kB / 410 MB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.00437, allocations: 3.938 kB / 410 MB, free: 15.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.004373, allocations: 0 / 410 MB, free: 15.06 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000386/0.004759, allocations: 365.4 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.004793, allocations: 8.031 kB / 410.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.859e-05/0.004822, allocations: 30.75 kB / 410.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.004854, allocations: 16.84 kB / 410.4 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.005038, allocations: 169.2 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.005049, allocations: 4.375 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.005065, allocations: 4.375 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.005179, allocations: 61.97 kB / 410.6 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.005188, allocations: 0 / 410.6 MB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.005196, allocations: 4 kB / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.0052, allocations: 0 / 410.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.23e-05/0.005252, allocations: 27.92 kB / 410.7 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.005519, allocations: 256 kB / 410.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.005631, allocations: 66.66 kB / 411 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.005663, allocations: 24.78 kB / 411 MB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.005675, allocations: 0 / 411 MB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.005787, allocations: 71.33 kB / 411.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 6.81e-07/0.005787, allocations: 0 / 411.1 MB, free: 13.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003894/0.006177, allocations: 189.3 kB / 411.3 MB, free: 13.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.00621, allocations: 59.41 kB / 411.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.00638, allocations: 259.5 kB / 411.6 MB, free: 13.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.006392, allocations: 29.7 kB / 411.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.006439, allocations: 112.1 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.006463, allocations: 27.78 kB / 411.7 MB, free: 13.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.006494, allocations: 25.72 kB / 411.8 MB, free: 13.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.00657, allocations: 330.8 kB / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.402e-05/0.006604, allocations: 20 kB / 412.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.132e-05/0.006645, allocations: 37.7 kB / 412.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.19e-05/0.006717, allocations: 65.64 kB / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.006718, allocations: 0 / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001131/0.006831, allocations: 109.6 kB / 412.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.006843, allocations: 4 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.006847, allocations: 0 / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.006859, allocations: 4 kB / 412.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.16e-05/0.00692, allocations: 20.11 kB / 412.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.006925, allocations: 0 / 412.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.94e-05/0.006954, allocations: 11.94 kB / 412.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.00696, allocations: 4 kB / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.685e-05/0.007037, allocations: 133.8 kB / 412.5 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.007051, allocations: 20.23 kB / 412.5 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.007219, allocations: 131.1 kB / 412.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.007221, allocations: 0 / 412.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.007225, allocations: 0 / 412.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.007229, allocations: 4 kB / 412.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.007518, allocations: 378.4 kB / 413 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007519, allocations: 4 kB / 413 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.00754, allocations: 11.98 kB / 413 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.007542, allocations: 0 / 413 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.00755, allocations: 8 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.007552, allocations: 4.031 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.007555, allocations: 11.81 kB / 413.1 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.007687, allocations: 208.3 kB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.284e-05/0.0077, allocations: 11.91 kB / 413.3 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.007716, allocations: 7.984 kB / 413.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.824e-05/0.007754, allocations: 7.938 kB / 413.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.007783, allocations: 11.92 kB / 413.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.007796, allocations: 4 kB / 413.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.0079, allocations: 199.3 kB / 413.5 MB, free: 11.26 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0079, allocations: 0 / 413.5 MB, free: 11.26 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001854/0.008086, allocations: 35.92 kB / 413.5 MB, free: 11.23 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009454/0.009031, allocations: 1.125 MB / 414.7 MB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.00917, allocations: 67.89 kB / 414.7 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009171, allocations: 0 / 414.7 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.32e-05/0.009215, allocations: 31.92 kB / 414.7 MB, free: 10.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.009442, allocations: 36 kB / 414.8 MB, free: 9.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.01066, allocations: 1.833 MB / 416.6 MB, free: 8.051 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.462e-05/0.01072, allocations: 97.89 kB / 416.7 MB, free: 7.934 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.66e-05/0.01076, allocations: 16.48 kB / 416.7 MB, free: 7.914 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.01081, allocations: 44.48 kB / 416.8 MB, free: 7.871 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01081, allocations: 0 / 416.8 MB, free: 7.871 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01454/0.02535, allocations: 4.538 MB / 421.3 MB, free: 3.199 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.476/6.501, allocations: 7.844 kB / 421.3 MB, free: 3.191 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498107 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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: 8.430882457643747]