Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.0008719/0.0008719, 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.0009416/0.0009416, allocations: 169.9 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.866/0.866, allocations: 158.6 MB / 185 MB, free: 3.039 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.1282/0.1282, 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.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 3.938 kB / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.206e-05, allocations: 6.078 kB / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002698/0.00272, allocations: 1.684 MB / 408.6 MB, free: 476 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.003866, allocations: 0.7842 MB / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.329e-05/0.003949, allocations: 0 / 409.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.004319, allocations: 91.62 kB / 409.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.004583, allocations: 75.67 kB / 409.5 MB, free: 15.51 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.004843, allocations: 91.69 kB / 409.6 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.005041, allocations: 111.7 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.005162, allocations: 12.16 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.005265, allocations: 67.75 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.005375, allocations: 67.86 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.005397, allocations: 4 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.975e-05/0.005487, allocations: 31.98 kB / 409.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.265e-05/0.005549, allocations: 31.86 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.005593, allocations: 19.92 kB / 410 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.0058, allocations: 123.5 kB / 410.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.005805, allocations: 0 / 410.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.005807, allocations: 3.938 kB / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.005812, allocations: 0 / 410.1 MB, free: 14.95 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.000532/0.006344, allocations: 353.4 kB / 410.4 MB, free: 14.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.006391, allocations: 12.03 kB / 410.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.006421, allocations: 30.75 kB / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.006459, allocations: 16.84 kB / 410.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.006707, allocations: 153.5 kB / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.006722, allocations: 384 / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.006745, allocations: 4.375 kB / 410.7 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.00689, allocations: 57.98 kB / 410.7 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.006902, allocations: 3.984 kB / 410.7 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.006911, allocations: 0 / 410.7 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.006918, allocations: 3.984 kB / 410.7 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.684e-05/0.006975, allocations: 27.92 kB / 410.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.00732, allocations: 256 kB / 411 MB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.007454, allocations: 58.67 kB / 411.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.007491, allocations: 20.86 kB / 411.1 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.007509, allocations: 3.984 kB / 411.1 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.007653, allocations: 71.33 kB / 411.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.007654, allocations: 0 / 411.2 MB, free: 13.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004607/0.008115, allocations: 185.3 kB / 411.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.008148, allocations: 55.41 kB / 411.4 MB, free: 13.51 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.008298, allocations: 230.7 kB / 411.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.00831, allocations: 29.7 kB / 411.6 MB, free: 13.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.00836, allocations: 112.1 kB / 411.8 MB, free: 13.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.008386, allocations: 23.84 kB / 411.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.008417, allocations: 25.7 kB / 411.8 MB, free: 13.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.008636, allocations: 326.8 kB / 412.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.376e-05/0.00868, allocations: 23.98 kB / 412.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.005e-05/0.00872, allocations: 33.7 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.591e-05/0.008796, allocations: 69.64 kB / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.008797, allocations: 0 / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001222/0.008919, allocations: 101.6 kB / 412.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.008932, allocations: 7.938 kB / 412.3 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.008938, allocations: 8.094 kB / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.008951, allocations: 0 / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.009023, allocations: 16.17 kB / 412.4 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.00903, allocations: 3.984 kB / 412.4 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.00906, allocations: 7.938 kB / 412.4 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.009067, allocations: 4 kB / 412.4 MB, free: 12.45 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.91e-05/0.009146, allocations: 137.8 kB / 412.5 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.009158, allocations: 7.953 kB / 412.5 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.009336, allocations: 127 kB / 412.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.009341, allocations: 3.984 kB / 412.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.009346, allocations: 0 / 412.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.00935, allocations: 0 / 412.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.009666, allocations: 382.3 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.009667, allocations: 0 / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.009692, allocations: 8 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.009696, allocations: 4.031 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.009709, allocations: 8.312 kB / 413.1 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.009711, allocations: 0 / 413.1 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.009715, allocations: 3.938 kB / 413.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.009865, allocations: 220.2 kB / 413.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.009878, allocations: 11.95 kB / 413.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.009895, allocations: 0 / 413.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.009934, allocations: 4 kB / 413.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.009972, allocations: 11.92 kB / 413.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.00999, allocations: 8 kB / 413.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.975e-05/0.01009, allocations: 180.3 kB / 413.5 MB, free: 11.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01009, allocations: 0 / 413.5 MB, free: 11.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001909/0.01028, allocations: 20 kB / 413.5 MB, free: 11.25 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.001024/0.0113, allocations: 1.133 MB / 414.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.01144, allocations: 63.91 kB / 414.7 MB, free: 10.06 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01144, allocations: 0 / 414.7 MB, free: 10.06 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.307e-05/0.01148, allocations: 27.92 kB / 414.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.01173, allocations: 32.23 kB / 414.8 MB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.01302, allocations: 1.736 MB / 416.5 MB, free: 8.176 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.192e-05/0.01309, allocations: 108.9 kB / 416.6 MB, free: 8.051 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.532e-05/0.01314, allocations: 16.47 kB / 416.6 MB, free: 8.031 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.01319, allocations: 40.48 kB / 416.7 MB, free: 7.992 MB / 394.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01319, allocations: 0 / 416.7 MB, free: 7.992 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.03071, allocations: 4.359 MB / 421 MB, free: 3.496 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.489/6.52, allocations: 11.83 kB / 421 MB, free: 3.484 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.458640549331903]