Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",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.0008563/0.0008563, allocations: 94.66 kB / 17.3 MB, free: 6.344 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.0008795/0.0008797, allocations: 184.4 kB / 18.21 MB, free: 5.527 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.398/1.398, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.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.0004544/0.0004544, allocations: 16 kB / 281.5 MB, free: 3.301 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1043, allocations: 47.57 MB / 329.1 MB, free: 3.652 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004466/0.1088, allocations: 3.717 MB / 332.8 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002636/0.1115, allocations: 1.644 MB / 334.4 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.1116, allocations: 12 kB / 334.4 MB, free: 14.24 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005105/0.1121, allocations: 215.1 kB / 334.7 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004794/0.1126, allocations: 206.7 kB / 334.9 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.1141, allocations: 0.74 MB / 335.6 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006464/0.1148, allocations: 0.5949 MB / 336.2 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.1163, allocations: 0.896 MB / 337.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000323/0.1167, allocations: 235 kB / 337.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.1171, allocations: 306.6 kB / 337.6 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.182e-05/0.1171, allocations: 31.94 kB / 337.6 MB, free: 11.01 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004357/0.1176, allocations: 243.7 kB / 337.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.223e-05/0.1177, allocations: 103.5 kB / 338 MB, free: 10.67 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.1179, allocations: 296.2 kB / 338.3 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008606/0.1188, allocations: 0.8683 MB / 339.1 MB, free: 9.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1188, allocations: 0 / 339.1 MB, free: 9.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1188, allocations: 0 / 339.1 MB, free: 9.5 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1188, allocations: 0 / 339.1 MB, free: 9.5 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003223/0.122, allocations: 1.093 MB / 340.2 MB, free: 8.355 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1221, allocations: 16.02 kB / 340.3 MB, free: 8.34 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00014/0.1222, allocations: 118.6 kB / 340.4 MB, free: 8.215 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.1233, allocations: 168.1 kB / 340.5 MB, free: 8.051 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.1236, allocations: 248.2 kB / 340.8 MB, free: 7.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/0.1236, allocations: 46.38 kB / 340.8 MB, free: 7.727 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.1238, allocations: 68.28 kB / 340.9 MB, free: 7.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.1251, allocations: 0.7154 MB / 341.6 MB, free: 6.926 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.1251, allocations: 0 / 341.6 MB, free: 6.926 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/0.1252, allocations: 32 kB / 341.6 MB, free: 6.895 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.1252, allocations: 16 kB / 341.6 MB, free: 6.879 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.1265, allocations: 0.6296 MB / 342.3 MB, free: 6.246 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003235/0.1298, allocations: 2.328 MB / 344.6 MB, free: 3.773 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.1315, allocations: 1.643 MB / 346.2 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/0.132, allocations: 287.4 kB / 346.5 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.1321, allocations: 97.64 kB / 346.6 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.1322, allocations: 39.12 kB / 346.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of pre-optimization done (n=66): time 1.623e-06/0.1322, allocations: 0 / 346.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of matching and sorting (n=66): time 0.00166/0.1339, allocations: 0.733 MB / 347.4 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.1339, allocations: 111.4 kB / 347.5 MB, free: 0.582 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.1342, allocations: 264.9 kB / 347.8 MB, free: 324 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.1343, allocations: 33.7 kB / 347.8 MB, free: 284 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.1344, allocations: 264 kB / 348.1 MB, free: 16 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.1347, allocations: 228.8 kB / 348.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-05/0.1348, allocations: 57.69 kB / 348.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.135, allocations: 350.7 kB / 348.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.1355, allocations: 213.9 kB / 348.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/0.136, allocations: 313.4 kB / 349.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.1371, allocations: 0.5376 MB / 349.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1371, allocations: 4 kB / 349.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001214/0.1383, allocations: 0.6492 MB / 350.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1384, allocations: 4 kB / 350.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1384, allocations: 4 kB / 350.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1384, allocations: 7.938 kB / 350.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006964/0.1391, allocations: 163.8 kB / 350.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.1391, allocations: 4 kB / 350.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004754/0.1396, allocations: 79.34 kB / 350.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/0.1397, allocations: 28 kB / 350.7 MB, free: 13.33 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002378/0.1399, allocations: 189.6 kB / 350.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/0.14, allocations: 39.53 kB / 350.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.1413, allocations: 0.6279 MB / 351.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.1413, allocations: 11.94 kB / 351.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1413, allocations: 0 / 351.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.1414, allocations: 3.984 kB / 351.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.1434, allocations: 1.312 MB / 352.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1434, allocations: 0 / 352.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/0.1439, allocations: 139.8 kB / 353 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.144, allocations: 0 / 353 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.144, allocations: 19.94 kB / 353 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.144, allocations: 0 / 353 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.144, allocations: 0 / 353 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.1457, allocations: 1.009 MB / 354 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.232e-05/0.1458, allocations: 124.5 kB / 354.1 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/0.1459, allocations: 23.98 kB / 354.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.1463, allocations: 27.98 kB / 354.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.1464, allocations: 44.5 kB / 354.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.1464, allocations: 16 kB / 354.2 MB, free: 9.641 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.1466, allocations: 192.5 kB / 354.4 MB, free: 9.453 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1466, allocations: 0 / 354.4 MB, free: 9.453 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005192/0.1471, allocations: 175.5 kB / 354.6 MB, free: 9.281 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002043/0.1492, allocations: 1.59 MB / 356.2 MB, free: 7.668 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.1503, allocations: 0.5585 MB / 356.7 MB, free: 7.109 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1503, allocations: 0 / 356.7 MB, free: 7.109 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005358/0.1509, allocations: 291 kB / 357 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.1514, allocations: 44.88 kB / 357.1 MB, free: 6.781 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006474/0.1579, allocations: 4.596 MB / 361.7 MB, free: 2.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.1584, allocations: 0.8424 MB / 362.5 MB, free: 1.203 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004211/0.1588, allocations: 87.34 kB / 362.6 MB, free: 1.117 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.1591, allocations: 183.4 kB / 362.8 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1591, allocations: 0 / 362.8 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.1827, allocations: 8.58 MB / 371.4 MB, free: 8.352 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.1829, allocations: 232.6 kB / 371.6 MB, free: 8.098 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/2.199, allocations: 0 / 371.6 MB, free: 8.098 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches