Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 112 kB / 17.12 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002033/0.002033, allocations: 191.7 kB / 20.07 MB, free: 3 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.465/1.465, allocations: 207.6 MB / 230.5 MB, free: 4.082 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.3943/0.3943, allocations: 44.22 MB / 326.5 MB, free: 6.875 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 75.88 kB / 462.2 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3253, allocations: 60.99 MB / 0.511 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002995/0.3283, allocations: 1.713 MB / 0.5126 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.3302, allocations: 1.415 MB / 0.514 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.306e-05/0.3303, allocations: 5.75 kB / 0.514 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.3306, allocations: 47.67 kB / 0.5141 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.3309, allocations: 53.61 kB / 0.5141 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.3311, allocations: 90.06 kB / 0.5142 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.3313, allocations: 90.48 kB / 0.5143 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3314, allocations: 11.95 kB / 0.5143 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.186e-05/0.3315, allocations: 43.91 kB / 0.5144 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.3316, allocations: 52.56 kB / 0.5144 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.3317, allocations: 7.375 kB / 0.5144 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.3318, allocations: 60.41 kB / 0.5145 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.517e-05/0.3318, allocations: 13.09 kB / 0.5145 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.976e-05/0.3319, allocations: 34.47 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.3321, allocations: 123.4 kB / 0.5146 GB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3321, allocations: 3.984 kB / 0.5146 GB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3321, allocations: 0 / 0.5146 GB, free: 10.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.3321, allocations: 0 / 0.5146 GB, free: 10.38 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005046/0.3326, allocations: 410.7 kB / 0.515 GB, free: 9.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3327, allocations: 13.48 kB / 0.515 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.65e-05/0.3327, allocations: 34.73 kB / 0.5151 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.3327, allocations: 17.02 kB / 0.5151 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.333, allocations: 203.3 kB / 0.5153 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.333, allocations: 1.75 kB / 0.5153 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.333, allocations: 9.312 kB / 0.5153 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.3332, allocations: 70.45 kB / 0.5154 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.3332, allocations: 0 / 0.5154 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3332, allocations: 1.375 kB / 0.5154 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3332, allocations: 0 / 0.5154 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.602e-05/0.3333, allocations: 22.98 kB / 0.5154 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.3336, allocations: 288.1 kB / 0.5157 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.3338, allocations: 56.48 kB / 0.5157 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/0.3339, allocations: 15.73 kB / 0.5157 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.3339, allocations: 5.375 kB / 0.5157 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.334, allocations: 65.14 kB / 0.5158 GB, free: 9.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.334, allocations: 3.938 kB / 0.5158 GB, free: 9.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005248/0.3346, allocations: 173.1 kB / 0.516 GB, free: 9.047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.3346, allocations: 78.48 kB / 0.516 GB, free: 8.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.3347, allocations: 160.2 kB / 0.5162 GB, free: 8.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.3347, allocations: 27.11 kB / 0.5162 GB, free: 8.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.3348, allocations: 99.27 kB / 0.5163 GB, free: 8.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.3348, allocations: 26.97 kB / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.3348, allocations: 25.78 kB / 0.5164 GB, free: 8.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.3349, allocations: 320.6 kB / 0.5167 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.3349, allocations: 24.33 kB / 0.5167 GB, free: 8.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.743e-05/0.335, allocations: 43.69 kB / 0.5167 GB, free: 8.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.976e-05/0.3351, allocations: 59.2 kB / 0.5168 GB, free: 8.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3351, allocations: 0.8125 kB / 0.5168 GB, free: 8.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001678/0.3353, allocations: 102.4 kB / 0.5169 GB, free: 8.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3353, allocations: 6.438 kB / 0.5169 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3353, allocations: 3.938 kB / 0.5169 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3353, allocations: 1.375 kB / 0.5169 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.3354, allocations: 17.02 kB / 0.5169 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3354, allocations: 1.438 kB / 0.5169 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.3355, allocations: 9.094 kB / 0.5169 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.3355, allocations: 7.781 kB / 0.5169 GB, free: 8.148 MB / 382.1 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.553e-05/0.3355, allocations: 123.5 kB / 0.5171 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.3356, allocations: 8.359 kB / 0.5171 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.3356, allocations: 13.12 kB / 0.5171 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3356, allocations: 1.031 kB / 0.5171 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3356, allocations: 0 / 0.5171 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3356, allocations: 5.094 kB / 0.5171 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.336, allocations: 398.7 kB / 0.5175 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.336, allocations: 0 / 0.5175 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.336, allocations: 8.656 kB / 0.5175 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.336, allocations: 3.938 kB / 0.5175 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.336, allocations: 2.625 kB / 0.5175 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.336, allocations: 0 / 0.5175 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.336, allocations: 5.141 kB / 0.5175 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.3362, allocations: 204.2 kB / 0.5177 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.862e-05/0.3363, allocations: 87.81 kB / 0.5178 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.3363, allocations: 5.781 kB / 0.5178 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.3364, allocations: 1.938 kB / 0.5178 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.3364, allocations: 15.55 kB / 0.5178 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.3364, allocations: 3.969 kB / 0.5178 GB, free: 7.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.325e-05/0.3365, allocations: 115.6 kB / 0.5179 GB, free: 7.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3365, allocations: 0 / 0.5179 GB, free: 7.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.3368, allocations: 33.53 kB / 0.5179 GB, free: 7.207 MB / 382.1 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 (8): * Single equations (assignments): 6 * 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.002048/0.3388, allocations: 1.149 MB / 0.5191 GB, free: 6.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.339, allocations: 56.97 kB / 0.5191 GB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.339, allocations: 0 / 0.5191 GB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.487e-05/0.3391, allocations: 27.12 kB / 0.5191 GB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.3394, allocations: 29.72 kB / 0.5192 GB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.3408, allocations: 1.559 MB / 0.5207 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.3409, allocations: 0.6963 MB / 0.5214 GB, free: 3.863 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.175e-05/0.341, allocations: 16.86 kB / 0.5214 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.341, allocations: 39.41 kB / 0.5214 GB, free: 3.809 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.341, allocations: 0 / 0.5214 GB, free: 3.809 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.3675, allocations: 3.566 MB / 0.5249 GB, free: 140 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.185/8.553, allocations: 4.938 kB / 0.5249 GB, free: 136 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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: 11.512860395945609]