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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 100.6 kB / 15.98 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 195.8 kB / 16.91 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.1 MB / 222.8 MB, free: 4.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3586/0.3586, allocations: 43.5 MB / 313.6 MB, free: 8.496 MB / 254.1 MB 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.001631/0.001631, allocations: 68.33 kB / 382.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1325, allocations: 57.8 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.003813/0.1364, allocations: 2.434 MB / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.1377, allocations: 0.8033 MB / 443.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1379, allocations: 4 kB / 443.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.1381, allocations: 47.62 kB / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.1383, allocations: 83.45 kB / 443.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.1386, allocations: 91.91 kB / 443.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.1389, allocations: 350.8 kB / 443.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.1391, allocations: 84.98 kB / 444 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.1393, allocations: 139.5 kB / 444.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.1395, allocations: 147.4 kB / 444.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.1395, allocations: 28 kB / 444.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.627e-05/0.1396, allocations: 39.94 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.1396, allocations: 63.83 kB / 444.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.1398, allocations: 155.2 kB / 444.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.1401, allocations: 354.7 kB / 444.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1401, allocations: 0 / 444.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1401, allocations: 0 / 444.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1401, allocations: 0 / 444.9 MB, free: 9.797 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.001028/0.1411, allocations: 0.608 MB / 445.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1412, allocations: 15.89 kB / 445.5 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.334e-05/0.1412, allocations: 58.73 kB / 445.6 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.1413, allocations: 36.56 kB / 445.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.1416, allocations: 267.5 kB / 445.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.1416, allocations: 12.94 kB / 445.9 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.1416, allocations: 28.38 kB / 445.9 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.1421, allocations: 253 kB / 446.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1422, allocations: 0 / 446.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.1422, allocations: 8 kB / 446.2 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1422, allocations: 8 kB / 446.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.1427, allocations: 238.1 kB / 446.4 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.144, allocations: 0.8598 MB / 447.3 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/0.1446, allocations: 314.4 kB / 447.6 MB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.1448, allocations: 148.8 kB / 447.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.1449, allocations: 7.984 kB / 447.7 MB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.1449, allocations: 38.56 kB / 447.8 MB, free: 6.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.1449, allocations: 0 / 447.8 MB, free: 6.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004655/0.1496, allocations: 1.262 MB / 449 MB, free: 5.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.1496, allocations: 55.41 kB / 449.1 MB, free: 5.316 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.1498, allocations: 209 kB / 449.3 MB, free: 5.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1499, allocations: 29.7 kB / 449.3 MB, free: 5.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.629e-05/0.15, allocations: 161.2 kB / 449.5 MB, free: 4.906 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.318e-05/0.1501, allocations: 110.4 kB / 449.6 MB, free: 4.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.312e-05/0.1502, allocations: 53.56 kB / 449.6 MB, free: 4.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1503, allocations: 338.8 kB / 450 MB, free: 4.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.1505, allocations: 99.89 kB / 450.1 MB, free: 4.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.1507, allocations: 117.9 kB / 450.2 MB, free: 4.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.1512, allocations: 235.3 kB / 450.4 MB, free: 3.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1512, allocations: 0 / 450.4 MB, free: 3.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001796/0.153, allocations: 0.5363 MB / 451 MB, free: 3.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.153, allocations: 8 kB / 451 MB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.153, allocations: 4 kB / 451 MB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/0.1548, allocations: 315.1 kB / 451.3 MB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.1549, allocations: 23.98 kB / 451.3 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2361/0.3911, allocations: 6.817 MB / 458.1 MB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.3914, allocations: 31.52 kB / 458.1 MB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.3914, allocations: 11.75 kB / 458.2 MB, free: 44.89 MB / 382.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.0001628/0.3916, allocations: 147.4 kB / 458.3 MB, free: 44.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.3916, allocations: 26.31 kB / 458.3 MB, free: 44.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.3934, allocations: 0.5434 MB / 458.9 MB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3934, allocations: 2.781 kB / 458.9 MB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.3934, allocations: 0.5625 kB / 458.9 MB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3934, allocations: 3.281 kB / 458.9 MB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.3938, allocations: 355.6 kB / 459.2 MB, free: 44.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3938, allocations: 0 / 459.2 MB, free: 44.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.3939, allocations: 20.91 kB / 459.2 MB, free: 44.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.3953, allocations: 317.8 kB / 459.6 MB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.3954, allocations: 9.844 kB / 459.6 MB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005686/0.4011, allocations: 6.886 MB / 466.4 MB, free: 38.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4011, allocations: 4.062 kB / 466.5 MB, free: 38.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.4027, allocations: 0.6227 MB / 467.1 MB, free: 38.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.4027, allocations: 102 kB / 467.2 MB, free: 38.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.4028, allocations: 13.91 kB / 467.2 MB, free: 38.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.403, allocations: 6.844 kB / 467.2 MB, free: 38.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.402e-05/0.4031, allocations: 36.11 kB / 467.2 MB, free: 38.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.4031, allocations: 5.75 kB / 467.2 MB, free: 38.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.4032, allocations: 163 kB / 467.4 MB, free: 38.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4032, allocations: 0 / 467.4 MB, free: 38.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004697/0.4037, allocations: 120.4 kB / 467.5 MB, free: 38.34 MB / 382.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.001769/0.4055, allocations: 1.162 MB / 468.7 MB, free: 37.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009651/0.4064, allocations: 0.757 MB / 469.4 MB, free: 36.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.4065, allocations: 2.875 kB / 469.4 MB, free: 36.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.4075, allocations: 0.7381 MB / 470.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.4079, allocations: 25.2 kB / 470.2 MB, free: 36.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005219/0.4131, allocations: 3.195 MB / 473.4 MB, free: 34.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.4133, allocations: 0.7749 MB / 474.2 MB, free: 33.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.038e-05/0.4134, allocations: 8.875 kB / 474.2 MB, free: 33.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.738e-05/0.4135, allocations: 75.55 kB / 474.2 MB, free: 33.61 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4135, allocations: 0 / 474.2 MB, free: 33.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04562/0.4591, allocations: 10.45 MB / 484.7 MB, free: 32.65 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/0.4594, allocations: 225.6 kB / 484.9 MB, free: 32.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.47/3.929, allocations: 0 / 484.9 MB, free: 32.39 MB / 382.1 MB (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 --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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches