Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.001808/0.001808, allocations: 119.9 kB / 17.13 MB, free: 5.926 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.002566/0.002566, allocations: 191.7 kB / 20.07 MB, free: 2.992 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.457/1.457, allocations: 207.6 MB / 230.5 MB, free: 4.027 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.3907/0.3907, allocations: 44.23 MB / 326.5 MB, free: 6.805 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.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",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.002207/0.002207, allocations: 67.91 kB / 462.2 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3296, allocations: 60.99 MB / 0.511 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003461/0.333, allocations: 1.814 MB / 0.5127 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.3345, allocations: 0.8887 MB / 0.5136 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.982e-05/0.3346, allocations: 1.156 kB / 0.5136 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005771/0.3352, allocations: 303.5 kB / 0.5139 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.3355, allocations: 216.7 kB / 0.5141 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.3359, allocations: 142.8 kB / 0.5142 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.3362, allocations: 243.6 kB / 0.5145 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.686e-05/0.3362, allocations: 10.11 kB / 0.5145 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.3364, allocations: 127.9 kB / 0.5146 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.3366, allocations: 218.9 kB / 0.5148 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.3367, allocations: 6.875 kB / 0.5148 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.3368, allocations: 41.8 kB / 0.5148 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.3369, allocations: 142.3 kB / 0.515 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.337, allocations: 144.8 kB / 0.5151 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.3374, allocations: 365.2 kB / 0.5155 GB, free: 9.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3374, allocations: 4 kB / 0.5155 GB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.3374, allocations: 0 / 0.5155 GB, free: 9.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.3374, allocations: 1.375 kB / 0.5155 GB, free: 9.957 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008997/0.3383, allocations: 0.7473 MB / 0.5162 GB, free: 9.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3384, allocations: 13.48 kB / 0.5162 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.3384, allocations: 36.12 kB / 0.5163 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.737e-05/0.3385, allocations: 54.59 kB / 0.5163 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000699/0.3392, allocations: 454.1 kB / 0.5167 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3392, allocations: 6.828 kB / 0.5167 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.3392, allocations: 7.312 kB / 0.5168 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.3394, allocations: 78.78 kB / 0.5168 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.3394, allocations: 5.25 kB / 0.5168 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3394, allocations: 0 / 0.5168 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3394, allocations: 5.266 kB / 0.5168 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.3395, allocations: 28.89 kB / 0.5169 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.3399, allocations: 375.5 kB / 0.5172 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.3402, allocations: 105.1 kB / 0.5173 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.745e-05/0.3403, allocations: 45.67 kB / 0.5174 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.3403, allocations: 4 kB / 0.5174 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.3405, allocations: 109 kB / 0.5175 GB, free: 8.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.3405, allocations: 4 kB / 0.5175 GB, free: 8.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004109/0.3409, allocations: 193.2 kB / 0.5177 GB, free: 7.914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.3409, allocations: 89.05 kB / 0.5177 GB, free: 7.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007698/0.3417, allocations: 1.034 MB / 0.5188 GB, free: 6.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.3417, allocations: 33.7 kB / 0.5188 GB, free: 6.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.3418, allocations: 228.1 kB / 0.519 GB, free: 6.496 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.3419, allocations: 35.77 kB / 0.519 GB, free: 6.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.3419, allocations: 25.72 kB / 0.5191 GB, free: 6.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.342, allocations: 370.8 kB / 0.5194 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.496e-05/0.3421, allocations: 31.98 kB / 0.5194 GB, free: 6.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.841e-05/0.3421, allocations: 56.3 kB / 0.5195 GB, free: 5.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.3423, allocations: 91.84 kB / 0.5196 GB, free: 5.859 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3423, allocations: 3.938 kB / 0.5196 GB, free: 5.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002367/0.3425, allocations: 177.2 kB / 0.5198 GB, free: 5.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3425, allocations: 4 kB / 0.5198 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3425, allocations: 4 kB / 0.5198 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3426, allocations: 0 / 0.5198 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.3427, allocations: 19.98 kB / 0.5198 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3427, allocations: 4 kB / 0.5198 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.061e-05/0.3428, allocations: 7.984 kB / 0.5198 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.3428, allocations: 8 kB / 0.5198 GB, free: 5.629 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001685/0.3429, allocations: 229.7 kB / 0.52 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.343, allocations: 55.66 kB / 0.5201 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.606e-05/0.3431, allocations: 60 kB / 0.5201 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.3431, allocations: 4 kB / 0.5201 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3431, allocations: 0 / 0.5201 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3431, allocations: 0 / 0.5201 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.3433, allocations: 337.4 kB / 0.5205 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3433, allocations: 0 / 0.5205 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.3434, allocations: 7.984 kB / 0.5205 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3434, allocations: 8 kB / 0.5205 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3434, allocations: 4 kB / 0.5205 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3434, allocations: 4 kB / 0.5205 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3434, allocations: 0 / 0.5205 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.3437, allocations: 209.5 kB / 0.5207 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.3438, allocations: 140.8 kB / 0.5208 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.3439, allocations: 4 kB / 0.5208 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.568e-05/0.3439, allocations: 8 kB / 0.5208 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.344, allocations: 11.92 kB / 0.5208 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.344, allocations: 4 kB / 0.5208 GB, free: 4.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005827/0.3446, allocations: 0.776 MB / 0.5216 GB, free: 3.691 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3446, allocations: 0 / 0.5216 GB, free: 3.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.3449, allocations: 43.94 kB / 0.5216 GB, free: 3.648 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001809/0.3467, allocations: 1.066 MB / 0.5227 GB, free: 2.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.3469, allocations: 75.91 kB / 0.5228 GB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3469, allocations: 0 / 0.5228 GB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.85e-05/0.347, allocations: 39.91 kB / 0.5228 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.3474, allocations: 70.39 kB / 0.5229 GB, free: 2.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005405/0.3528, allocations: 4.519 MB / 0.5273 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.3534, allocations: 0.8388 MB / 0.5281 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.3536, allocations: 62.89 kB / 0.5282 GB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.3538, allocations: 151.4 kB / 0.5283 GB, free: 12.7 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3538, allocations: 3.938 kB / 0.5283 GB, free: 12.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03574/0.3896, allocations: 8.979 MB / 0.5371 GB, free: 3.637 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.934/9.323, allocations: 7.922 kB / 0.5371 GB, free: 3.629 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.288404869847]