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.001853/0.001853, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.002315/0.002315, allocations: 224.8 kB / 23 MB, free: 4.969 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.539/1.539, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.28/0.28, allocations: 44.26 MB / 330.3 MB, free: 9.406 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.002614/0.002614, allocations: 75.89 kB / 467.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1437, allocations: 61.04 MB / 0.5161 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.004672/0.1484, allocations: 2.265 MB / 0.5184 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1499, allocations: 0.7721 MB / 0.5191 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.15, allocations: 7.938 kB / 0.5191 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.1502, allocations: 55.56 kB / 0.5192 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.1505, allocations: 99.25 kB / 0.5193 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.1508, allocations: 99.81 kB / 0.5194 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004307/0.1512, allocations: 346.8 kB / 0.5197 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.1515, allocations: 64.83 kB / 0.5197 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.1517, allocations: 139.5 kB / 0.5199 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.152, allocations: 139.3 kB / 0.52 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.074e-05/0.152, allocations: 28 kB / 0.52 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.536e-05/0.1521, allocations: 28 kB / 0.5201 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.152e-05/0.1522, allocations: 67.75 kB / 0.5201 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.1523, allocations: 123.5 kB / 0.5203 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.1528, allocations: 366.5 kB / 0.5206 GB, free: 2.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1528, allocations: 4 kB / 0.5206 GB, free: 2.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1528, allocations: 0 / 0.5206 GB, free: 2.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.1528, allocations: 0 / 0.5206 GB, free: 2.605 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.001258/0.1541, allocations: 0.5402 MB / 0.5211 GB, free: 2.035 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.1541, allocations: 8.031 kB / 0.5211 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.089e-05/0.1542, allocations: 62.72 kB / 0.5212 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.262e-05/0.1543, allocations: 32.75 kB / 0.5212 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.1547, allocations: 205.9 kB / 0.5214 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.1547, allocations: 20.86 kB / 0.5214 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.447e-05/0.1548, allocations: 28.31 kB / 0.5215 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.1553, allocations: 244.2 kB / 0.5217 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1553, allocations: 4 kB / 0.5217 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.1554, allocations: 8 kB / 0.5217 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.1554, allocations: 8 kB / 0.5217 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000544/0.1559, allocations: 229.9 kB / 0.5219 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.1575, allocations: 0.7691 MB / 0.5227 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005646/0.1581, allocations: 282.7 kB / 0.523 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.1584, allocations: 128.9 kB / 0.5231 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.1584, allocations: 4 kB / 0.5231 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.1585, allocations: 34.56 kB / 0.5231 GB, free: 15.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.674e-06/0.1585, allocations: 0 / 0.5231 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004512/0.163, allocations: 0.9682 MB / 0.5241 GB, free: 14.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.163, allocations: 55.41 kB / 0.5241 GB, free: 14.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.1633, allocations: 217.4 kB / 0.5243 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.1634, allocations: 29.7 kB / 0.5244 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.1635, allocations: 164.7 kB / 0.5245 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.1637, allocations: 115.1 kB / 0.5246 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.1638, allocations: 49.56 kB / 0.5247 GB, free: 14.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002464/0.164, allocations: 338.8 kB / 0.525 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.1643, allocations: 91.95 kB / 0.5251 GB, free: 13.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.1646, allocations: 121.8 kB / 0.5252 GB, free: 13.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005367/0.1651, allocations: 227.3 kB / 0.5254 GB, free: 13.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1651, allocations: 0 / 0.5254 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001857/0.167, allocations: 0.548 MB / 0.526 GB, free: 12.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.167, allocations: 7.984 kB / 0.526 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.167, allocations: 4 kB / 0.526 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/0.1687, allocations: 307.2 kB / 0.5263 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.1689, allocations: 35.91 kB / 0.5263 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008623/0.1776, allocations: 6.345 MB / 0.5325 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.1778, allocations: 31.8 kB / 0.5325 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.1778, allocations: 15.94 kB / 0.5325 GB, free: 5.664 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.0002095/0.1781, allocations: 141.8 kB / 0.5327 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-05/0.1781, allocations: 27.81 kB / 0.5327 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.18, allocations: 0.5462 MB / 0.5332 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.18, allocations: 4 kB / 0.5332 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.18, allocations: 4.125 kB / 0.5332 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.18, allocations: 4 kB / 0.5332 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004611/0.1805, allocations: 292.5 kB / 0.5335 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1805, allocations: 0 / 0.5335 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.1806, allocations: 23.91 kB / 0.5335 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.1821, allocations: 311.2 kB / 0.5338 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.1822, allocations: 4 kB / 0.5338 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3475/0.5296, allocations: 6.423 MB / 0.5401 GB, free: 25.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.5296, allocations: 4.078 kB / 0.5401 GB, free: 25.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.5315, allocations: 0.6154 MB / 0.5407 GB, free: 25.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.5316, allocations: 31.34 kB / 0.5407 GB, free: 25.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.5316, allocations: 4.781 kB / 0.5408 GB, free: 25.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.5318, allocations: 11.77 kB / 0.5408 GB, free: 25.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.532, allocations: 34.75 kB / 0.5408 GB, free: 25.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.532, allocations: 9.594 kB / 0.5408 GB, free: 25.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001779/0.5322, allocations: 159.7 kB / 0.541 GB, free: 25.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5322, allocations: 0.5312 kB / 0.541 GB, free: 25.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008296/0.533, allocations: 119.5 kB / 0.5411 GB, free: 25.53 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.002222/0.5352, allocations: 1.152 MB / 0.5422 GB, free: 24.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.5365, allocations: 0.7406 MB / 0.5429 GB, free: 24.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.5365, allocations: 1.531 kB / 0.5429 GB, free: 24.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.5378, allocations: 0.7328 MB / 0.5436 GB, free: 23.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.5381, allocations: 29.61 kB / 0.5437 GB, free: 23.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006138/0.5443, allocations: 3.081 MB / 0.5467 GB, free: 22.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.5445, allocations: 164.2 kB / 0.5468 GB, free: 22.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.793e-05/0.5446, allocations: 14.62 kB / 0.5468 GB, free: 22.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.5447, allocations: 74.39 kB / 0.5469 GB, free: 22.32 MB / 414.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5447, allocations: 4.656 kB / 0.5469 GB, free: 22.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07516/0.6198, allocations: 11.64 MB / 0.5583 GB, free: 19.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.92, allocations: 5.156 kB / 0.5583 GB, free: 19.8 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: 17.10919140977785]