Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.001393/0.001393, 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.001655/0.001655, 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.9067/0.9067, 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.1333/0.1333, allocations: 32.36 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.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.279e-05, allocations: 6.078 kB / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002379/0.002411, allocations: 1.676 MB / 408.6 MB, free: 488 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.004028, allocations: 1.478 MB / 410.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.564e-05/0.004104, allocations: 4 kB / 410.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.004409, allocations: 39.77 kB / 410.1 MB, free: 14.95 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.004685, allocations: 59.64 kB / 410.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.004935, allocations: 87.69 kB / 410.3 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.005106, allocations: 103.6 kB / 410.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.005212, allocations: 16.16 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.346e-05/0.005305, allocations: 51.91 kB / 410.4 MB, free: 14.63 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.949e-05/0.005405, allocations: 31.89 kB / 410.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.005431, allocations: 4 kB / 410.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.005566, allocations: 55.91 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.251e-05/0.005628, allocations: 19.92 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.00567, allocations: 19.92 kB / 410.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.005894, allocations: 135.5 kB / 410.7 MB, free: 14.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.005898, allocations: 0 / 410.7 MB, free: 14.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.0059, allocations: 3.938 kB / 410.7 MB, free: 14.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.005904, allocations: 0 / 410.7 MB, free: 14.37 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.0004914/0.006396, allocations: 325.7 kB / 411 MB, free: 14.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.006438, allocations: 12.03 kB / 411 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/0.006471, allocations: 38.73 kB / 411.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.006509, allocations: 8.891 kB / 411.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.00672, allocations: 137.6 kB / 411.2 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.006733, allocations: 4.375 kB / 411.2 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.00675, allocations: 4.375 kB / 411.2 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.006904, allocations: 101.3 kB / 411.3 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.006913, allocations: 0 / 411.3 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.006923, allocations: 0 / 411.3 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.006927, allocations: 4 kB / 411.3 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.963e-05/0.006977, allocations: 23.98 kB / 411.3 MB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.007285, allocations: 255.9 kB / 411.6 MB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.007405, allocations: 66.59 kB / 411.7 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.007441, allocations: 20.84 kB / 411.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.007455, allocations: 0 / 411.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.007584, allocations: 67.39 kB / 411.7 MB, free: 13.17 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.007585, allocations: 3.938 kB / 411.7 MB, free: 13.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004176/0.008002, allocations: 181.4 kB / 411.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.008046, allocations: 81.11 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.008175, allocations: 157 kB / 412.2 MB, free: 12.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.008191, allocations: 33.7 kB / 412.2 MB, free: 12.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.008233, allocations: 96.08 kB / 412.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.00826, allocations: 23.8 kB / 412.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.008295, allocations: 25.7 kB / 412.3 MB, free: 12.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.008388, allocations: 326.8 kB / 412.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.63e-05/0.008434, allocations: 20 kB / 412.7 MB, free: 12.19 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-05/0.008492, allocations: 72.2 kB / 412.7 MB, free: 12.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.296e-05/0.008575, allocations: 65.73 kB / 412.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.008577, allocations: 0 / 412.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001322/0.008709, allocations: 105.6 kB / 412.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.008723, allocations: 8 kB / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.008729, allocations: 0 / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.008742, allocations: 0 / 412.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.008819, allocations: 16.17 kB / 412.9 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.008826, allocations: 4 kB / 412.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.008866, allocations: 7.938 kB / 412.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.008875, allocations: 8.031 kB / 412.9 MB, free: 11.88 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 8.92e-05/0.008964, allocations: 125.7 kB / 413.1 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.008984, allocations: 11.94 kB / 413.1 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.009171, allocations: 114.4 kB / 413.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.009173, allocations: 3.938 kB / 413.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.009178, allocations: 0 / 413.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.009182, allocations: 0 / 413.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.009525, allocations: 374.3 kB / 413.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.009527, allocations: 0 / 413.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.009559, allocations: 12.41 kB / 413.6 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.009563, allocations: 4 kB / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.009571, allocations: 0 / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.009574, allocations: 4 kB / 413.6 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.009577, allocations: 7.938 kB / 413.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.009732, allocations: 208.3 kB / 413.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.009745, allocations: 7.953 kB / 413.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.009763, allocations: 7.938 kB / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.379e-05/0.009807, allocations: 4 kB / 413.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.009839, allocations: 11.92 kB / 413.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.009855, allocations: 8 kB / 413.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.009e-05/0.009925, allocations: 123.2 kB / 414 MB, free: 10.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009925, allocations: 0 / 414 MB, free: 10.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002196/0.01014, allocations: 35.86 kB / 414 MB, free: 10.75 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.001118/0.01126, allocations: 1.168 MB / 415.2 MB, free: 9.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.01141, allocations: 59.91 kB / 415.2 MB, free: 9.531 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01142, allocations: 0 / 415.2 MB, free: 9.531 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.493e-05/0.01147, allocations: 39.86 kB / 415.3 MB, free: 9.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.01171, allocations: 31.98 kB / 415.3 MB, free: 9.461 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.01337, allocations: 1.574 MB / 416.9 MB, free: 7.789 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.974e-05/0.01343, allocations: 83.88 kB / 416.9 MB, free: 7.688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.703e-05/0.01348, allocations: 9.297 kB / 417 MB, free: 7.676 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.01355, allocations: 44.47 kB / 417 MB, free: 7.633 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01355, allocations: 0 / 417 MB, free: 7.633 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.03166, allocations: 4.423 MB / 421.4 MB, free: 3.055 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.481/6.513, allocations: 7.844 kB / 421.4 MB, free: 3.047 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.532652843743563]