Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.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.001879/0.001879, allocations: 110.2 kB / 19.69 MB, free: 2.203 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.002773/0.002773, allocations: 223.3 kB / 23.01 MB, free: 5.039 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.542/1.542, allocations: 207.6 MB / 233.8 MB, free: 9.977 MB / 190.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.2341/0.2341, allocations: 44.23 MB / 330.3 MB, free: 9.609 MB / 270.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.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",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.002632/0.002632, allocations: 72.45 kB / 467.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1475, allocations: 61.06 MB / 0.5161 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.006147/0.1536, allocations: 2.316 MB / 0.5184 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.1556, allocations: 0.667 MB / 0.5191 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.1558, allocations: 4 kB / 0.5191 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.1559, allocations: 39.58 kB / 0.5191 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.1563, allocations: 71.33 kB / 0.5192 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.1566, allocations: 91.89 kB / 0.5193 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.1571, allocations: 347.2 kB / 0.5196 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/0.1574, allocations: 116.1 kB / 0.5197 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003306/0.1577, allocations: 151.5 kB / 0.5198 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.158, allocations: 151.4 kB / 0.52 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.107e-05/0.1581, allocations: 35.94 kB / 0.52 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.595e-05/0.1581, allocations: 36 kB / 0.5201 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/0.1582, allocations: 63.83 kB / 0.5201 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.1584, allocations: 155.3 kB / 0.5203 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004447/0.1588, allocations: 374.5 kB / 0.5206 GB, free: 2.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.1588, allocations: 7.984 kB / 0.5206 GB, free: 2.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1588, allocations: 0 / 0.5206 GB, free: 2.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1589, allocations: 0 / 0.5206 GB, free: 2.727 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001114/0.16, allocations: 0.5133 MB / 0.5211 GB, free: 2.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.16, allocations: 8.031 kB / 0.5211 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.081e-05/0.1601, allocations: 70.72 kB / 0.5212 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.1602, allocations: 28.75 kB / 0.5212 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.1604, allocations: 142.2 kB / 0.5214 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.1604, allocations: 25.02 kB / 0.5214 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.1605, allocations: 36.38 kB / 0.5214 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005079/0.161, allocations: 278.1 kB / 0.5217 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.161, allocations: 8 kB / 0.5217 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.161, allocations: 12 kB / 0.5217 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.161, allocations: 8 kB / 0.5217 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.1615, allocations: 210.5 kB / 0.5219 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.1635, allocations: 0.9863 MB / 0.5229 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.002e-05/0.1635, allocations: 30.52 kB / 0.5229 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.323e-05/0.1636, allocations: 28.91 kB / 0.5229 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.1636, allocations: 0 / 0.5229 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.1636, allocations: 30.56 kB / 0.523 GB, free: 188 kB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.1636, allocations: 4 kB / 0.523 GB, free: 184 kB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002365/0.1639, allocations: 81.44 kB / 0.5231 GB, free: 96 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.1639, allocations: 51.41 kB / 0.5231 GB, free: 32 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.1643, allocations: 320.2 kB / 0.5234 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1644, allocations: 25.7 kB / 0.5234 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.1645, allocations: 239.4 kB / 0.5237 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.1646, allocations: 11.94 kB / 0.5237 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.565e-05/0.1647, allocations: 53.66 kB / 0.5237 GB, free: 15.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1648, allocations: 338.9 kB / 0.524 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.165, allocations: 59.98 kB / 0.5241 GB, free: 14.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.1651, allocations: 90.67 kB / 0.5242 GB, free: 14.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.1654, allocations: 122.2 kB / 0.5243 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1654, allocations: 0 / 0.5243 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004109/0.1658, allocations: 237.5 kB / 0.5245 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1658, allocations: 11.94 kB / 0.5245 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1659, allocations: 3.984 kB / 0.5245 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.1659, allocations: 0 / 0.5245 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.1662, allocations: 55.81 kB / 0.5246 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1662, allocations: 4 kB / 0.5246 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.1664, allocations: 47.61 kB / 0.5247 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.1664, allocations: 8 kB / 0.5247 GB, free: 14.39 MB / 414.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 (30): * Single equations (assignments): 30 * 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.0001289/0.1666, allocations: 129.8 kB / 0.5248 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.1666, allocations: 27.84 kB / 0.5248 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.1666, allocations: 20.98 kB / 0.5248 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1666, allocations: 0 / 0.5248 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1667, allocations: 4 kB / 0.5248 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1667, allocations: 0 / 0.5248 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000661/0.1673, allocations: 494.2 kB / 0.5253 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1673, allocations: 4 kB / 0.5253 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.1673, allocations: 8.062 kB / 0.5253 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1674, allocations: 4 kB / 0.5253 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1674, allocations: 0 / 0.5253 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1674, allocations: 7.922 kB / 0.5253 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1674, allocations: 0 / 0.5253 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.1675, allocations: 105.7 kB / 0.5254 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.1676, allocations: 19.89 kB / 0.5254 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.1676, allocations: 8.031 kB / 0.5255 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1677, allocations: 3.984 kB / 0.5255 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.1677, allocations: 8 kB / 0.5255 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1677, allocations: 0 / 0.5255 GB, free: 13.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002677/0.168, allocations: 223.1 kB / 0.5257 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.168, allocations: 0 / 0.5257 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.1683, allocations: 67.84 kB / 0.5257 GB, free: 13.19 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0004634/0.1687, allocations: 0.6365 MB / 0.5264 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003079/0.169, allocations: 100.1 kB / 0.5265 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.169, allocations: 0 / 0.5265 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.346e-05/0.1691, allocations: 12 kB / 0.5265 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.1694, allocations: 21.2 kB / 0.5265 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.1723, allocations: 2.24 MB / 0.5287 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.1728, allocations: 0.7401 MB / 0.5294 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.1729, allocations: 21.94 kB / 0.5294 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.173, allocations: 75.41 kB / 0.5295 GB, free: 9.18 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.173, allocations: 4 kB / 0.5295 GB, free: 9.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.2053, allocations: 4.446 MB / 0.5338 GB, free: 4.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.3, allocations: 0 / 0.5338 GB, free: 4.723 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage.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: 14.54001810401678]