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.001214/0.001214, allocations: 106.1 kB / 16.4 MB, free: 6.449 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.001297/0.001297, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.498/1.498, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2332/0.2332, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.001724/0.001724, allocations: 73.62 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1099, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.003626/0.1136, allocations: 2.406 MB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1149, allocations: 0.811 MB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.1151, allocations: 7.938 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.1154, allocations: 51.56 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002593/0.1156, allocations: 99.25 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.1159, allocations: 103.8 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000336/0.1163, allocations: 346.8 kB / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.1164, allocations: 96.67 kB / 0.4912 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.1167, allocations: 135.5 kB / 0.4913 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.1169, allocations: 147.4 kB / 0.4915 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.1169, allocations: 28 kB / 0.4915 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.651e-05/0.117, allocations: 32 kB / 0.4915 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.117, allocations: 75.73 kB / 0.4916 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.1172, allocations: 151.2 kB / 0.4917 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.1175, allocations: 358.7 kB / 0.4921 GB, free: 7.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1175, allocations: 0 / 0.4921 GB, free: 7.461 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1175, allocations: 0 / 0.4921 GB, free: 7.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.1175, allocations: 0 / 0.4921 GB, free: 7.461 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.001053/0.1186, allocations: 0.6042 MB / 0.4927 GB, free: 6.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.1186, allocations: 11.89 kB / 0.4927 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.428e-05/0.1187, allocations: 62.72 kB / 0.4927 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.1188, allocations: 36.56 kB / 0.4928 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.1191, allocations: 267.5 kB / 0.493 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1191, allocations: 16.94 kB / 0.493 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.1192, allocations: 24.38 kB / 0.4931 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/0.1197, allocations: 253 kB / 0.4933 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1197, allocations: 0 / 0.4933 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.1197, allocations: 8 kB / 0.4933 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.1197, allocations: 11.94 kB / 0.4933 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004735/0.1202, allocations: 234.1 kB / 0.4936 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.1215, allocations: 0.8598 MB / 0.4944 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.1221, allocations: 314.6 kB / 0.4947 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.1223, allocations: 140.8 kB / 0.4948 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.1224, allocations: 4 kB / 0.4948 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1224, allocations: 34.56 kB / 0.4949 GB, free: 4.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.402e-06/0.1224, allocations: 0 / 0.4949 GB, free: 4.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004617/0.127, allocations: 1.258 MB / 0.4961 GB, free: 3.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.1271, allocations: 55.41 kB / 0.4961 GB, free: 3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.1273, allocations: 213.6 kB / 0.4963 GB, free: 2.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1273, allocations: 33.7 kB / 0.4964 GB, free: 2.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.1275, allocations: 164.5 kB / 0.4965 GB, free: 2.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.085e-05/0.1275, allocations: 102.5 kB / 0.4966 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.381e-05/0.1276, allocations: 57.56 kB / 0.4967 GB, free: 2.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1277, allocations: 330.8 kB / 0.497 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.128, allocations: 91.95 kB / 0.4971 GB, free: 1.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.1282, allocations: 121.9 kB / 0.4972 GB, free: 1.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.1287, allocations: 239.2 kB / 0.4974 GB, free: 1.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1287, allocations: 0 / 0.4974 GB, free: 1.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001808/0.1305, allocations: 0.5403 MB / 0.498 GB, free: 1.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1305, allocations: 4 kB / 0.498 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1305, allocations: 0 / 0.498 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/0.1322, allocations: 311.2 kB / 0.4983 GB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.1324, allocations: 31.91 kB / 0.4983 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007388/0.1398, allocations: 6.832 MB / 0.505 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.1401, allocations: 31.67 kB / 0.505 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.1401, allocations: 8 kB / 0.505 GB, free: 9.273 MB / 398.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.0001558/0.1403, allocations: 145.7 kB / 0.5051 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.1403, allocations: 27.78 kB / 0.5052 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.1421, allocations: 0.5473 MB / 0.5057 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1421, allocations: 4 kB / 0.5057 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1422, allocations: 7.938 kB / 0.5057 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1422, allocations: 3.984 kB / 0.5057 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.1426, allocations: 349.4 kB / 0.5061 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.1426, allocations: 7.984 kB / 0.5061 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.1427, allocations: 19.98 kB / 0.5061 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001696/0.1444, allocations: 311.1 kB / 0.5064 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.1445, allocations: 4 kB / 0.5064 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007705/0.1522, allocations: 6.893 MB / 0.5131 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1522, allocations: 0 / 0.5131 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.1541, allocations: 0.6076 MB / 0.5137 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.1542, allocations: 116.6 kB / 0.5138 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.1543, allocations: 4 kB / 0.5138 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.1545, allocations: 8 kB / 0.5138 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.1546, allocations: 39.88 kB / 0.5139 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.1547, allocations: 8.172 kB / 0.5139 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.1548, allocations: 160.5 kB / 0.514 GB, free: 15.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1548, allocations: 0 / 0.514 GB, free: 15.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006252/0.1555, allocations: 115.9 kB / 0.5141 GB, free: 15.23 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.002109/0.1576, allocations: 1.161 MB / 0.5153 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.1588, allocations: 0.7641 MB / 0.516 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1588, allocations: 0 / 0.516 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.1601, allocations: 0.7328 MB / 0.5167 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.1604, allocations: 32.31 kB / 0.5168 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/0.1666, allocations: 3.083 MB / 0.5198 GB, free: 9.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.167, allocations: 0.7717 MB / 0.5205 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.35e-05/0.1671, allocations: 9.953 kB / 0.5205 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.1673, allocations: 79.41 kB / 0.5206 GB, free: 8.305 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1673, allocations: 0 / 0.5206 GB, free: 8.305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2665/0.4338, allocations: 11.06 MB / 0.5314 GB, free: 41.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.73, allocations: 9.5 kB / 0.5314 GB, free: 41.68 MB / 414.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