Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.001924/0.001924, allocations: 122.1 kB / 17.83 MB, free: 5.242 MB / 14.72 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.002214/0.002214, allocations: 204.6 kB / 20.79 MB, free: 2.297 MB / 14.72 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 1.761/1.761, allocations: 207.6 MB / 231.2 MB, free: 4.098 MB / 174.1 MB " [Timeout remaining time 178] 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.3802/0.3802, allocations: 44.23 MB / 327.3 MB, free: 6.738 MB / 254.1 MB " [Timeout remaining time 179] 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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 79.88 kB / 463 MB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.296, allocations: 60.99 MB / 0.5117 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002901/0.2989, allocations: 1.852 MB / 0.5135 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3001, allocations: 0.9086 MB / 0.5144 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.3002, allocations: 6.25 kB / 0.5144 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004551/0.3007, allocations: 259 kB / 0.5147 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.301, allocations: 187.2 kB / 0.5148 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.3013, allocations: 144.5 kB / 0.515 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.3016, allocations: 245.6 kB / 0.5152 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3017, allocations: 16.02 kB / 0.5152 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.3018, allocations: 135.7 kB / 0.5154 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.302, allocations: 197 kB / 0.5155 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.302, allocations: 7.469 kB / 0.5155 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.48e-05/0.3021, allocations: 50.03 kB / 0.5156 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.999e-05/0.3022, allocations: 63.7 kB / 0.5157 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.3023, allocations: 81.25 kB / 0.5157 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.3025, allocations: 233.7 kB / 0.516 GB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3025, allocations: 0 / 0.516 GB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3025, allocations: 3.938 kB / 0.516 GB, free: 10.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.3025, allocations: 0 / 0.516 GB, free: 10.05 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005951/0.3031, allocations: 0.5646 MB / 0.5165 GB, free: 9.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3032, allocations: 13.48 kB / 0.5165 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.79e-05/0.3032, allocations: 1.562 kB / 0.5165 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.452e-05/0.3032, allocations: 40.11 kB / 0.5166 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.3032, allocations: 30.5 kB / 0.5166 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.3036, allocations: 289.4 kB / 0.5169 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.3036, allocations: 6.875 kB / 0.5169 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.3036, allocations: 12.12 kB / 0.5169 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.3038, allocations: 94.8 kB / 0.517 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3038, allocations: 0 / 0.517 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3038, allocations: 5.375 kB / 0.517 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3038, allocations: 1.375 kB / 0.517 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.304, allocations: 36.59 kB / 0.517 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.3044, allocations: 459.9 kB / 0.5175 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.3046, allocations: 111.7 kB / 0.5176 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.643e-05/0.3047, allocations: 40.83 kB / 0.5176 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3047, allocations: 2.75 kB / 0.5176 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.3049, allocations: 109.9 kB / 0.5177 GB, free: 8.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.3049, allocations: 0 / 0.5177 GB, free: 8.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008443/0.3058, allocations: 399.8 kB / 0.5181 GB, free: 8.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.3058, allocations: 79.14 kB / 0.5182 GB, free: 8.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.3061, allocations: 481.5 kB / 0.5186 GB, free: 7.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.3061, allocations: 29.7 kB / 0.5187 GB, free: 7.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.3062, allocations: 164.3 kB / 0.5188 GB, free: 7.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.3062, allocations: 55.5 kB / 0.5189 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.3063, allocations: 33.7 kB / 0.5189 GB, free: 7.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.279e-05/0.3063, allocations: 350.8 kB / 0.5192 GB, free: 7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.751e-05/0.3064, allocations: 43.92 kB / 0.5193 GB, free: 6.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.023e-05/0.3065, allocations: 71.41 kB / 0.5193 GB, free: 6.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.3067, allocations: 115.4 kB / 0.5195 GB, free: 6.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3067, allocations: 4 kB / 0.5195 GB, free: 6.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002888/0.307, allocations: 185.3 kB / 0.5196 GB, free: 6.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.307, allocations: 8.625 kB / 0.5196 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.307, allocations: 0 / 0.5196 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.307, allocations: 3.938 kB / 0.5196 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.3072, allocations: 35.92 kB / 0.5197 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3072, allocations: 3.984 kB / 0.5197 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.873e-05/0.3073, allocations: 8 kB / 0.5197 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.3073, allocations: 12.06 kB / 0.5197 GB, free: 6.488 MB / 382.1 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001122/0.3074, allocations: 161.8 kB / 0.5199 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.3074, allocations: 35.75 kB / 0.5199 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.113e-05/0.3075, allocations: 43.11 kB / 0.5199 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3075, allocations: 7.938 kB / 0.5199 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3075, allocations: 0 / 0.5199 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3075, allocations: 7.922 kB / 0.5199 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/0.308, allocations: 0.6281 MB / 0.5206 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.308, allocations: 0 / 0.5206 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.017e-05/0.3081, allocations: 23.92 kB / 0.5206 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3081, allocations: 0 / 0.5206 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3081, allocations: 8 kB / 0.5206 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3081, allocations: 4 kB / 0.5206 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3081, allocations: 0 / 0.5206 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.3084, allocations: 376.2 kB / 0.521 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.3085, allocations: 104.9 kB / 0.5211 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.3085, allocations: 15.92 kB / 0.5211 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.3086, allocations: 4.375 kB / 0.5211 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.3087, allocations: 19.97 kB / 0.5211 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.3087, allocations: 12 kB / 0.5211 GB, free: 4.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002297/0.3089, allocations: 359.1 kB / 0.5214 GB, free: 4.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3089, allocations: 0 / 0.5214 GB, free: 4.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003199/0.3093, allocations: 40 kB / 0.5215 GB, free: 4.551 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001963/0.3112, allocations: 1.262 MB / 0.5227 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002674/0.3115, allocations: 115.8 kB / 0.5228 GB, free: 3.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3115, allocations: 0 / 0.5228 GB, free: 3.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.3116, allocations: 51.92 kB / 0.5229 GB, free: 3.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.3121, allocations: 64.81 kB / 0.5229 GB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.3145, allocations: 2.76 MB / 0.5256 GB, free: 196 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.3148, allocations: 0.7671 MB / 0.5264 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.846e-05/0.3149, allocations: 37.92 kB / 0.5264 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.3151, allocations: 87.41 kB / 0.5265 GB, free: 15.27 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3151, allocations: 0 / 0.5265 GB, free: 15.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.3372, allocations: 6.044 MB / 0.5324 GB, free: 9.148 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.737/9.074, allocations: 9.719 kB / 0.5324 GB, free: 9.141 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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: 12.50551278097555]