Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.0009238/0.0009238, 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.001064/0.001064, 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.9094/0.9094, allocations: 158.6 MB / 185 MB, free: 3.062 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.1374/0.1374, allocations: 32.37 MB / 269.6 MB, free: 14.96 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.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.196e-05, allocations: 6.219 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003111/0.003133, allocations: 1.753 MB / 408.7 MB, free: 404 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.004135, allocations: 0.8543 MB / 409.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.954e-05/0.004214, allocations: 8 kB / 409.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004431/0.004657, allocations: 303.2 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.004932, allocations: 207.2 kB / 410 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.00515, allocations: 143.6 kB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.005367, allocations: 247.2 kB / 410.4 MB, free: 14.64 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.005417, allocations: 9.797 kB / 410.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.005565, allocations: 143.6 kB / 410.6 MB, free: 14.49 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.005728, allocations: 200.1 kB / 410.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.005751, allocations: 12 kB / 410.8 MB, free: 14.28 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.647e-05/0.005828, allocations: 43.92 kB / 410.8 MB, free: 14.24 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.005935, allocations: 136.5 kB / 410.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.423e-05/0.005999, allocations: 71.66 kB / 411 MB, free: 14.04 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.006268, allocations: 346.8 kB / 411.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.006271, allocations: 0 / 411.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.006272, allocations: 0 / 411.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.006276, allocations: 0 / 411.3 MB, free: 13.7 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.0006175/0.006894, allocations: 0.6553 MB / 412 MB, free: 13.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.006934, allocations: 8.031 kB / 412 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.999e-05/0.006964, allocations: 42.67 kB / 412.1 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.007015, allocations: 52.61 kB / 412.1 MB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.007386, allocations: 373.9 kB / 412.5 MB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.0074, allocations: 384 / 412.5 MB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.007413, allocations: 8.375 kB / 412.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.007562, allocations: 87.67 kB / 412.6 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.00757, allocations: 0 / 412.6 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.007579, allocations: 7.938 kB / 412.6 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.007583, allocations: 0 / 412.6 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.663e-05/0.00765, allocations: 31.97 kB / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002485/0.007898, allocations: 333.5 kB / 412.9 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.008065, allocations: 109.1 kB / 413 MB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.008117, allocations: 37.7 kB / 413.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.008131, allocations: 0 / 413.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.008284, allocations: 120.9 kB / 413.2 MB, free: 11.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.008284, allocations: 0 / 413.2 MB, free: 11.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003029/0.008587, allocations: 213.4 kB / 413.4 MB, free: 11.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.008629, allocations: 81.11 kB / 413.5 MB, free: 11.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006449/0.009274, allocations: 1.018 MB / 414.5 MB, free: 10.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.009287, allocations: 29.7 kB / 414.5 MB, free: 10.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.009403, allocations: 228.1 kB / 414.7 MB, free: 10.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.009435, allocations: 23.81 kB / 414.8 MB, free: 10.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.009471, allocations: 29.7 kB / 414.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.009571, allocations: 370.8 kB / 415.2 MB, free: 9.652 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.205e-05/0.009623, allocations: 27.98 kB / 415.2 MB, free: 9.625 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.009957, allocations: 63.41 kB / 415.3 MB, free: 9.551 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.01006, allocations: 95.34 kB / 415.3 MB, free: 9.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01007, allocations: 0 / 415.3 MB, free: 9.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001757/0.01024, allocations: 169.2 kB / 415.5 MB, free: 9.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.01026, allocations: 4 kB / 415.5 MB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01027, allocations: 7.938 kB / 415.5 MB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.01028, allocations: 64 / 415.5 MB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.316e-05/0.01036, allocations: 23.98 kB / 415.5 MB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.01037, allocations: 4 kB / 415.5 MB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.762e-05/0.01043, allocations: 19.88 kB / 415.6 MB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.01043, allocations: 4 kB / 415.6 MB, free: 9.211 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.0001477/0.01058, allocations: 226 kB / 415.8 MB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.01062, allocations: 59.59 kB / 415.8 MB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.01085, allocations: 201.6 kB / 416 MB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01086, allocations: 0 / 416 MB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01086, allocations: 4 kB / 416.1 MB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01087, allocations: 4 kB / 416.1 MB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.01106, allocations: 292.5 kB / 416.3 MB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01106, allocations: 0 / 416.3 MB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.767e-05/0.01109, allocations: 8 kB / 416.3 MB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01109, allocations: 3.938 kB / 416.4 MB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.0111, allocations: 4 kB / 416.4 MB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.0111, allocations: 3.938 kB / 416.4 MB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.0111, allocations: 0 / 416.4 MB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.0113, allocations: 217.6 kB / 416.6 MB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.01136, allocations: 71.53 kB / 416.6 MB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.01139, allocations: 7.938 kB / 416.6 MB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.804e-05/0.01143, allocations: 3.984 kB / 416.7 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.01147, allocations: 11.98 kB / 416.7 MB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.01148, allocations: 8 kB / 416.7 MB, free: 8.027 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004688/0.01195, allocations: 0.7526 MB / 417.4 MB, free: 7.277 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01195, allocations: 0 / 417.4 MB, free: 7.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.01212, allocations: 43.98 kB / 417.5 MB, free: 7.234 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.000971/0.01309, allocations: 1.1 MB / 418.6 MB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.01326, allocations: 87.84 kB / 418.7 MB, free: 6.051 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01326, allocations: 0 / 418.7 MB, free: 6.051 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.948e-05/0.01332, allocations: 43.97 kB / 418.7 MB, free: 6.008 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.0136, allocations: 74.06 kB / 418.8 MB, free: 5.934 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/0.01755, allocations: 4.474 MB / 423.2 MB, free: 1.352 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.0177, allocations: 237.8 kB / 423.5 MB, free: 1.094 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.457e-05/0.01779, allocations: 58.95 kB / 423.5 MB, free: 1.039 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.01792, allocations: 144.4 kB / 423.7 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01792, allocations: 0 / 423.7 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.03881, allocations: 9.81 MB / 433.5 MB, free: 6.953 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.632/6.671, allocations: 12 kB / 433.5 MB, free: 6.941 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.7468092860654]