Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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.001303/0.001303, 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.001348/0.001348, 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.6/1.6, allocations: 207.6 MB / 230.5 MB, free: 4.035 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.404/0.404, allocations: 44.24 MB / 326.5 MB, free: 6.828 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.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",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.002166/0.002166, allocations: 63.91 kB / 462.2 MB, free: 0.957 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3333, allocations: 60.99 MB / 0.5109 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.003571/0.3368, allocations: 2.411 MB / 0.5132 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3381, allocations: 0.8208 MB / 0.514 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.3383, allocations: 4.5 kB / 0.514 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.3385, allocations: 54.11 kB / 0.5141 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.3387, allocations: 105.6 kB / 0.5142 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.339, allocations: 92.88 kB / 0.5143 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.3393, allocations: 353.6 kB / 0.5146 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.3395, allocations: 68.89 kB / 0.5147 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.3397, allocations: 141.7 kB / 0.5148 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.3399, allocations: 149.6 kB / 0.515 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.328e-05/0.34, allocations: 33.75 kB / 0.515 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.899e-05/0.34, allocations: 28.75 kB / 0.515 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.235e-05/0.3401, allocations: 70.91 kB / 0.5151 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.3402, allocations: 144.2 kB / 0.5152 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.3405, allocations: 366.3 kB / 0.5156 GB, free: 9.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3405, allocations: 0 / 0.5156 GB, free: 9.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.3405, allocations: 1.406 kB / 0.5156 GB, free: 9.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3405, allocations: 0 / 0.5156 GB, free: 9.48 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001009/0.3416, allocations: 0.6225 MB / 0.5162 GB, free: 8.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.3416, allocations: 13.48 kB / 0.5162 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.599e-05/0.3417, allocations: 62.97 kB / 0.5163 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.3417, allocations: 31.88 kB / 0.5163 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.3421, allocations: 261.9 kB / 0.5165 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.3421, allocations: 18.56 kB / 0.5166 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.3421, allocations: 24.88 kB / 0.5166 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004569/0.3426, allocations: 254.5 kB / 0.5168 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.3426, allocations: 3.984 kB / 0.5168 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.3426, allocations: 9.375 kB / 0.5168 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.3426, allocations: 6.875 kB / 0.5168 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.3431, allocations: 231.1 kB / 0.5171 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.3445, allocations: 0.8713 MB / 0.5179 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004936/0.345, allocations: 279.8 kB / 0.5182 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.3452, allocations: 124.8 kB / 0.5183 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.084e-05/0.3452, allocations: 8 kB / 0.5183 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.3452, allocations: 34.56 kB / 0.5183 GB, free: 7.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.363e-06/0.3452, allocations: 0 / 0.5183 GB, free: 7.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.003985/0.3492, allocations: 1.258 MB / 0.5196 GB, free: 5.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.3493, allocations: 55.41 kB / 0.5196 GB, free: 5.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.3494, allocations: 213 kB / 0.5198 GB, free: 5.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.3495, allocations: 29.7 kB / 0.5199 GB, free: 5.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.3495, allocations: 161.3 kB / 0.52 GB, free: 5.367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.3496, allocations: 107 kB / 0.5201 GB, free: 5.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-05/0.3497, allocations: 57.56 kB / 0.5202 GB, free: 5.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.3497, allocations: 334.8 kB / 0.5205 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.3499, allocations: 95.95 kB / 0.5206 GB, free: 4.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.3501, allocations: 117.9 kB / 0.5207 GB, free: 4.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.3505, allocations: 235.3 kB / 0.5209 GB, free: 4.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3505, allocations: 3.938 kB / 0.5209 GB, free: 4.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001484/0.352, allocations: 0.5365 MB / 0.5214 GB, free: 3.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.352, allocations: 4 kB / 0.5214 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.352, allocations: 8 kB / 0.5215 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/0.3535, allocations: 303.2 kB / 0.5217 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3537, allocations: 31.91 kB / 0.5218 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007219/0.3609, allocations: 6.833 MB / 0.5284 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.3611, allocations: 23.88 kB / 0.5285 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.3612, allocations: 19.92 kB / 0.5285 GB, free: 12.05 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002054/0.3614, allocations: 145.8 kB / 0.5286 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.3614, allocations: 23.81 kB / 0.5286 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.3632, allocations: 0.5511 MB / 0.5292 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3632, allocations: 4 kB / 0.5292 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3632, allocations: 3.938 kB / 0.5292 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3632, allocations: 3.984 kB / 0.5292 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/0.3637, allocations: 345.4 kB / 0.5295 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3637, allocations: 0 / 0.5295 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.3638, allocations: 23.97 kB / 0.5296 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.3654, allocations: 311.1 kB / 0.5298 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.3654, allocations: 4 kB / 0.5299 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008423/0.3738, allocations: 6.898 MB / 0.5366 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3738, allocations: 0 / 0.5366 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.3757, allocations: 0.6154 MB / 0.5372 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.3758, allocations: 108.8 kB / 0.5373 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.3758, allocations: 4 kB / 0.5373 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.376, allocations: 12 kB / 0.5373 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.3761, allocations: 31.94 kB / 0.5373 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.3762, allocations: 12 kB / 0.5373 GB, free: 2.285 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.3764, allocations: 164.5 kB / 0.5375 GB, free: 2.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3764, allocations: 0 / 0.5375 GB, free: 2.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005732/0.3769, allocations: 115.9 kB / 0.5376 GB, free: 2.012 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00219/0.3791, allocations: 1.165 MB / 0.5388 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.3803, allocations: 0.7447 MB / 0.5395 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3803, allocations: 0 / 0.5395 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.3817, allocations: 0.7211 MB / 0.5402 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.382, allocations: 24.38 kB / 0.5402 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006572/0.3886, allocations: 3.094 MB / 0.5432 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.3891, allocations: 0.7678 MB / 0.544 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.17e-05/0.3892, allocations: 13.95 kB / 0.544 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.3893, allocations: 79.41 kB / 0.5441 GB, free: 11.11 MB / 414.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3893, allocations: 0 / 0.5441 GB, free: 11.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05121/0.4405, allocations: 10.84 MB / 0.5547 GB, free: 268 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.26, allocations: 15.09 kB / 0.5547 GB, free: 256 kB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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: 16.342579470947385]