Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.0007868/0.0007868, 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.0007323/0.0007323, 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.8649/0.8649, allocations: 158.6 MB / 185 MB, free: 3.059 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.1262/0.1262, 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.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 406.9 MB, free: 2.141 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027e-05/1.175e-05, allocations: 2.281 kB / 406.9 MB, free: 2.137 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.001946/0.001958, allocations: 1.691 MB / 408.6 MB, free: 444 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008462/0.002804, allocations: 0.7959 MB / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8e-05/0.002884, allocations: 0 / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.003158, allocations: 39.83 kB / 409.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.003356, allocations: 55.64 kB / 409.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.003539, allocations: 95.69 kB / 409.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.003675, allocations: 103.6 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.799e-05/0.003763, allocations: 4.234 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.003881, allocations: 51.89 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.541e-05/0.003957, allocations: 27.91 kB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.003975, allocations: 7.938 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.004076, allocations: 71.83 kB / 409.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.004124, allocations: 19.86 kB / 409.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.004161, allocations: 27.86 kB / 409.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.004343, allocations: 123.6 kB / 410 MB, free: 15.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004345, allocations: 4 kB / 410 MB, free: 15.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004346, allocations: 0 / 410 MB, free: 15.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.004355, allocations: 0 / 410 MB, free: 15.01 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000415/0.00477, allocations: 329.7 kB / 410.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.004808, allocations: 8.031 kB / 410.4 MB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.004841, allocations: 38.75 kB / 410.4 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.004875, allocations: 12.83 kB / 410.4 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.005052, allocations: 145.6 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.005063, allocations: 384 / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.005082, allocations: 12.31 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.005224, allocations: 105.4 kB / 410.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.005233, allocations: 0 / 410.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.005241, allocations: 0 / 410.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.005245, allocations: 0 / 410.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.615e-05/0.005301, allocations: 31.97 kB / 410.7 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.005592, allocations: 255.9 kB / 410.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.005704, allocations: 58.48 kB / 411 MB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.005742, allocations: 24.97 kB / 411 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.005764, allocations: 4 kB / 411 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.005895, allocations: 75.45 kB / 411.1 MB, free: 13.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.294e-06/0.005897, allocations: 3.984 kB / 411.1 MB, free: 13.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004116/0.006308, allocations: 193.6 kB / 411.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.006349, allocations: 81.05 kB / 411.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.006452, allocations: 169 kB / 411.5 MB, free: 13.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.006463, allocations: 25.7 kB / 411.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.006503, allocations: 92.14 kB / 411.7 MB, free: 13.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.006528, allocations: 31.73 kB / 411.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.00656, allocations: 25.72 kB / 411.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.971e-05/0.006639, allocations: 330.8 kB / 412 MB, free: 12.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.171e-05/0.006681, allocations: 23.98 kB / 412.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.137e-05/0.006732, allocations: 68.27 kB / 412.1 MB, free: 12.69 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.526e-05/0.006808, allocations: 69.67 kB / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.006808, allocations: 0 / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001165/0.006925, allocations: 117.5 kB / 412.3 MB, free: 12.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.006937, allocations: 4 kB / 412.3 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.006942, allocations: 0 / 412.3 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.006955, allocations: 4.062 kB / 412.3 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/0.007016, allocations: 19.98 kB / 412.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.007021, allocations: 4 kB / 412.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.007049, allocations: 4 kB / 412.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.007062, 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 (11): * Single equations (assignments): 11 * 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.117e-05/0.007133, allocations: 129.7 kB / 412.5 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.007144, allocations: 7.953 kB / 412.5 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.007297, allocations: 122.4 kB / 412.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.007299, allocations: 0 / 412.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.007303, allocations: 0 / 412.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.007306, allocations: 7.938 kB / 412.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.007603, allocations: 382.3 kB / 413 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.007604, allocations: 0 / 413 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.386e-05/0.007628, allocations: 12 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.00763, allocations: 0 / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.007639, allocations: 4.281 kB / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.00764, allocations: 0 / 413 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.007642, allocations: 3.938 kB / 413 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.007782, allocations: 220.2 kB / 413.2 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.007792, allocations: 11.98 kB / 413.2 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.007808, allocations: 4 kB / 413.2 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.007847, allocations: 7.984 kB / 413.2 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.007877, allocations: 15.86 kB / 413.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.007884, allocations: 4 kB / 413.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.202e-05/0.007946, allocations: 119.2 kB / 413.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007946, allocations: 0 / 413.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001818/0.008128, allocations: 35.94 kB / 413.4 MB, free: 11.3 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 (10): * Single equations (assignments): 8 * 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.001033/0.009161, allocations: 1.191 MB / 414.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.009307, allocations: 71.91 kB / 414.7 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.009308, allocations: 0 / 414.7 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.634e-05/0.009355, 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.0002169/0.009572, allocations: 27.92 kB / 414.7 MB, free: 9.988 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.0108, allocations: 1.594 MB / 416.3 MB, free: 8.297 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.016e-05/0.01086, allocations: 87.39 kB / 416.4 MB, free: 8.191 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.258e-05/0.01092, allocations: 12.97 kB / 416.4 MB, free: 8.176 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/0.01097, allocations: 36.48 kB / 416.5 MB, free: 8.141 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01097, allocations: 0 / 416.5 MB, free: 8.141 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.02521, allocations: 4.536 MB / 421 MB, free: 3.449 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.496/6.521, allocations: 11.89 kB / 421 MB, free: 3.438 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.475576442666352]