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.001095/0.0011, allocations: 104.4 kB / 16.27 MB, free: 5.93 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.001309/0.001309, allocations: 187.5 kB / 17.2 MB, free: 5.574 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.256/1.256, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.244/0.244, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001608/0.001608, allocations: 61.34 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1057, allocations: 57.8 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.003302/0.1091, allocations: 2.387 MB / 443 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1103, allocations: 0.8112 MB / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.1104, allocations: 0 / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.1107, allocations: 55.5 kB / 443.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.1109, allocations: 107.2 kB / 444 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.1111, allocations: 99.86 kB / 444.1 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.1114, allocations: 350 kB / 444.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.1116, allocations: 100.6 kB / 444.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.1118, allocations: 131.6 kB / 444.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.112, allocations: 155.3 kB / 444.8 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.284e-05/0.112, allocations: 28 kB / 444.8 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.451e-05/0.1121, allocations: 35.94 kB / 444.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.1121, allocations: 71.69 kB / 444.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1122, allocations: 151.2 kB / 445.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.1125, allocations: 350.8 kB / 445.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1125, allocations: 0 / 445.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1125, allocations: 0 / 445.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1125, allocations: 0 / 445.4 MB, free: 1.965 MB / 318.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.0009081/0.1134, allocations: 0.612 MB / 446 MB, free: 1.305 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1135, allocations: 19.88 kB / 446.1 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.256e-05/0.1135, allocations: 58.73 kB / 446.1 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.1136, allocations: 32.56 kB / 446.1 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.1138, allocations: 259.6 kB / 446.4 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1138, allocations: 16.94 kB / 446.4 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.1139, allocations: 24.38 kB / 446.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.1143, allocations: 256.9 kB / 446.7 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1143, allocations: 4 kB / 446.7 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.1143, allocations: 4 kB / 446.7 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.1144, allocations: 8 kB / 446.7 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.1148, allocations: 230.1 kB / 446.9 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.1162, allocations: 0.8676 MB / 447.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005821/0.1168, allocations: 309.9 kB / 448.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.117, allocations: 144.8 kB / 448.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.1171, allocations: 3.984 kB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.1171, allocations: 38.56 kB / 448.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.1171, allocations: 0 / 448.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.004639/0.1218, allocations: 1.258 MB / 449.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.1219, allocations: 55.41 kB / 449.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.1221, allocations: 209 kB / 449.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.1221, allocations: 29.7 kB / 449.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.1223, allocations: 173 kB / 450 MB, free: 13.08 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.401e-05/0.1224, allocations: 102.5 kB / 450.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.942e-05/0.1225, allocations: 53.64 kB / 450.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.1227, allocations: 334.8 kB / 450.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.1229, allocations: 91.95 kB / 450.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.1232, allocations: 117.9 kB / 450.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/0.1237, allocations: 239.2 kB / 450.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1237, allocations: 0 / 450.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001773/0.1255, allocations: 0.5403 MB / 451.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.1255, allocations: 8 kB / 451.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1255, allocations: 0 / 451.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001674/0.1272, allocations: 303.2 kB / 451.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.1274, allocations: 31.91 kB / 451.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007655/0.1351, allocations: 6.824 MB / 458.6 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.1354, allocations: 31.7 kB / 458.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.1355, allocations: 12 kB / 458.7 MB, free: 3.793 MB / 334.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.0002423/0.1357, allocations: 149.8 kB / 458.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/0.1358, allocations: 23.72 kB / 458.8 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.1376, allocations: 0.5473 MB / 459.4 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1376, allocations: 4.188 kB / 459.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.1377, allocations: 7.938 kB / 459.4 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1377, allocations: 3.984 kB / 459.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.1381, allocations: 349.3 kB / 459.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1381, allocations: 3.984 kB / 459.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.1383, allocations: 19.98 kB / 459.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.1398, allocations: 315.1 kB / 460.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.1398, allocations: 8 kB / 460.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007799/0.1476, allocations: 6.893 MB / 467 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1476, allocations: 0 / 467 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.1494, allocations: 0.6192 MB / 467.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-05/0.1495, allocations: 112.6 kB / 467.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.1496, allocations: 8 kB / 467.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.1497, allocations: 8.25 kB / 467.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.1499, allocations: 35.89 kB / 467.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.1499, allocations: 15.98 kB / 467.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002279/0.1502, allocations: 152.5 kB / 467.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1502, allocations: 0 / 467.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005667/0.1507, allocations: 119.8 kB / 468 MB, free: 9.73 MB / 350.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.002056/0.1528, allocations: 1.165 MB / 469.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.154, allocations: 0.7641 MB / 470 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.154, allocations: 0 / 470 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.1553, allocations: 0.7368 MB / 470.7 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.1557, allocations: 29.3 kB / 470.7 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006423/0.1621, allocations: 3.074 MB / 473.8 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.1626, allocations: 0.7677 MB / 474.6 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.071e-05/0.1627, allocations: 13.95 kB / 474.6 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.1629, allocations: 79.41 kB / 474.6 MB, free: 2.832 MB / 350.1 MB Notification: Performance of SimCode: time 1.172e-06/0.1629, allocations: 0 / 474.6 MB, free: 2.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05617/0.219, allocations: 10.59 MB / 485.2 MB, free: 8.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.39, allocations: 15.88 kB / 485.3 MB, free: 8.23 MB / 366.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","/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) Reference file matches