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.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.001319/0.001319, allocations: 107.5 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.001563/0.001563, allocations: 226.7 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.551/1.551, 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.2289/0.2289, allocations: 44.24 MB / 330.3 MB, free: 9.504 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.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.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.002349/0.002349, allocations: 69 kB / 467.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1352, allocations: 61.05 MB / 0.5161 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.004551/0.1397, allocations: 2.423 MB / 0.5185 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.1415, allocations: 0.8265 MB / 0.5193 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.1417, allocations: 4 kB / 0.5193 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.142, allocations: 51.5 kB / 0.5194 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.1423, allocations: 103.2 kB / 0.5195 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.1427, allocations: 99.8 kB / 0.5196 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006026/0.1433, allocations: 346.8 kB / 0.5199 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.1434, allocations: 72.83 kB / 0.52 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.1437, allocations: 139.5 kB / 0.5201 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.144, allocations: 155.3 kB / 0.5202 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.222e-05/0.1441, allocations: 28 kB / 0.5203 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.863e-05/0.1441, allocations: 36 kB / 0.5203 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-05/0.1442, allocations: 63.75 kB / 0.5204 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.1443, allocations: 151.2 kB / 0.5205 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.1448, allocations: 358.5 kB / 0.5208 GB, free: 2.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1448, allocations: 0 / 0.5208 GB, free: 2.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1448, allocations: 0 / 0.5208 GB, free: 2.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.1448, allocations: 0 / 0.5208 GB, free: 2.48 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001242/0.146, allocations: 0.5441 MB / 0.5214 GB, free: 1.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1461, allocations: 12.03 kB / 0.5214 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.043e-05/0.1461, allocations: 58.73 kB / 0.5214 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.171e-05/0.1462, allocations: 36.75 kB / 0.5215 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/0.1467, allocations: 209.8 kB / 0.5217 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.1467, allocations: 16.88 kB / 0.5217 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.1467, allocations: 24.38 kB / 0.5217 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.1473, allocations: 252.2 kB / 0.522 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1473, allocations: 0 / 0.522 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.1473, allocations: 8 kB / 0.522 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1473, allocations: 8 kB / 0.522 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006242/0.1479, allocations: 233.9 kB / 0.5222 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.1496, allocations: 0.8236 MB / 0.523 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.1501, allocations: 286.7 kB / 0.5233 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.1504, allocations: 124.8 kB / 0.5234 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.1505, allocations: 7.984 kB / 0.5234 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.775e-05/0.1506, allocations: 34.56 kB / 0.5234 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/0.1506, allocations: 0 / 0.5234 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004506/0.1551, allocations: 0.9643 MB / 0.5244 GB, free: 14.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.1551, allocations: 55.34 kB / 0.5244 GB, free: 14.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.1553, allocations: 217.5 kB / 0.5246 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.1554, allocations: 29.7 kB / 0.5247 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.1555, allocations: 168.7 kB / 0.5248 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.247e-05/0.1556, allocations: 103.1 kB / 0.5249 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.897e-05/0.1557, allocations: 57.56 kB / 0.525 GB, free: 14.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1559, allocations: 330.8 kB / 0.5253 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.1561, allocations: 95.95 kB / 0.5254 GB, free: 13.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.1564, allocations: 129.8 kB / 0.5255 GB, free: 13.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/0.1569, allocations: 227.3 kB / 0.5257 GB, free: 13.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1569, allocations: 0 / 0.5257 GB, free: 13.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001857/0.1587, allocations: 0.5403 MB / 0.5263 GB, free: 12.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1588, allocations: 4 kB / 0.5263 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1588, allocations: 4 kB / 0.5263 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001706/0.1605, allocations: 307.1 kB / 0.5266 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.1606, allocations: 31.91 kB / 0.5266 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009301/0.1699, allocations: 6.415 MB / 0.5328 GB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.1702, allocations: 36.02 kB / 0.5329 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.1702, allocations: 8 kB / 0.5329 GB, free: 5.418 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 (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.0002813/0.1705, allocations: 145.8 kB / 0.533 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/0.1706, allocations: 27.91 kB / 0.5331 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001976/0.1726, allocations: 0.5462 MB / 0.5336 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.1726, allocations: 8 kB / 0.5336 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1726, allocations: 3.938 kB / 0.5336 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1726, allocations: 0 / 0.5336 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007111/0.1733, allocations: 324.4 kB / 0.5339 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.1733, allocations: 4 kB / 0.5339 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.1734, allocations: 15.98 kB / 0.5339 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001595/0.175, allocations: 311.1 kB / 0.5342 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.1751, allocations: 4 kB / 0.5342 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2324/0.4075, allocations: 6.484 MB / 0.5406 GB, free: 25.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4075, allocations: 2.484 kB / 0.5406 GB, free: 25.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.4092, allocations: 0.6149 MB / 0.5412 GB, free: 25.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.4093, allocations: 26.81 kB / 0.5412 GB, free: 25.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.4093, allocations: 8 kB / 0.5412 GB, free: 25.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.4095, allocations: 13.41 kB / 0.5412 GB, free: 25.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.4097, allocations: 33.56 kB / 0.5412 GB, free: 25.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.4097, allocations: 6.438 kB / 0.5413 GB, free: 25.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.4098, allocations: 162.8 kB / 0.5414 GB, free: 25.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4098, allocations: 1.125 kB / 0.5414 GB, free: 25.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005548/0.4104, allocations: 118.1 kB / 0.5415 GB, free: 25.39 MB / 414.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.001819/0.4122, allocations: 1.158 MB / 0.5427 GB, free: 24.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000942/0.4132, allocations: 0.7424 MB / 0.5434 GB, free: 24.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4132, allocations: 0 / 0.5434 GB, free: 24.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.4143, allocations: 0.7237 MB / 0.5441 GB, free: 23.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.4146, allocations: 28.42 kB / 0.5441 GB, free: 23.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005933/0.4205, allocations: 3.097 MB / 0.5471 GB, free: 22.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.4208, allocations: 0.7702 MB / 0.5479 GB, free: 21.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.447e-05/0.4209, allocations: 8.547 kB / 0.5479 GB, free: 21.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.421, allocations: 73.58 kB / 0.548 GB, free: 21.48 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.421, allocations: 0 / 0.548 GB, free: 21.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05007/0.4711, allocations: 11.2 MB / 0.5589 GB, free: 19.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.67, allocations: 9.344 kB / 0.5589 GB, free: 19.32 MB / 414.1 MB " [Timeout remaining time 646] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.759844965999946]