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.001106/0.001106, allocations: 102 kB / 17.16 MB, free: 6.32 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.00102/0.00102, allocations: 190 kB / 18.07 MB, free: 5.414 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.325/1.325, allocations: 205.1 MB / 223.9 MB, free: 12.39 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.001033/0.001033, allocations: 55.92 kB / 280.1 MB, free: 3.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08775/0.08879, allocations: 46.62 MB / 326.7 MB, free: 4.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004827/0.09366, allocations: 4.126 MB / 330.8 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.0958, allocations: 1.663 MB / 332.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.09595, allocations: 12 kB / 332.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.09779, allocations: 0.9496 MB / 333.5 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.09816, allocations: 198.8 kB / 333.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.0997, allocations: 0.7867 MB / 334.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000503/0.1002, allocations: 0.5949 MB / 335 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000617/0.1008, allocations: 446 kB / 335.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.1011, allocations: 258.9 kB / 335.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003218/0.1015, allocations: 318.7 kB / 336 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.175e-05/0.1015, allocations: 40 kB / 336.1 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.102, allocations: 255.8 kB / 336.3 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.34e-05/0.1021, allocations: 127.5 kB / 336.5 MB, free: 10.97 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.1023, allocations: 294.5 kB / 336.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007777/0.1031, allocations: 0.8838 MB / 337.6 MB, free: 9.793 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1031, allocations: 0 / 337.6 MB, free: 9.793 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1031, allocations: 0 / 337.6 MB, free: 9.793 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1031, allocations: 0 / 337.6 MB, free: 9.793 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.003317/0.1064, allocations: 1.202 MB / 338.8 MB, free: 8.539 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.1065, allocations: 12.03 kB / 338.8 MB, free: 8.527 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/0.1066, allocations: 110.7 kB / 338.9 MB, free: 8.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.1077, allocations: 176 kB / 339.1 MB, free: 8.238 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.1079, allocations: 252.1 kB / 339.4 MB, free: 7.953 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.108, allocations: 50.38 kB / 339.4 MB, free: 7.906 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.433e-05/0.1081, allocations: 72.3 kB / 339.5 MB, free: 7.836 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.1093, allocations: 0.7036 MB / 340.2 MB, free: 7.113 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.1093, allocations: 0 / 340.2 MB, free: 7.113 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/0.1094, allocations: 32 kB / 340.2 MB, free: 7.082 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.1094, allocations: 16 kB / 340.2 MB, free: 7.066 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.1106, allocations: 0.6062 MB / 340.8 MB, free: 6.457 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.1139, allocations: 2.312 MB / 343.2 MB, free: 4 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.1157, allocations: 1.628 MB / 344.8 MB, free: 2.145 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/0.1163, allocations: 271.4 kB / 345 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.1164, allocations: 101.6 kB / 345.1 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.1165, allocations: 39.12 kB / 345.2 MB, free: 1.707 MB / 286.1 MB Notification: Performance of pre-optimization done (n=66): time 1.663e-06/0.1165, allocations: 0 / 345.2 MB, free: 1.707 MB / 286.1 MB Notification: Performance of matching and sorting (n=66): time 0.001655/0.1181, allocations: 0.7017 MB / 345.9 MB, free: 1 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/0.1182, allocations: 111.4 kB / 346 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.1185, allocations: 264.8 kB / 346.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.1186, allocations: 37.7 kB / 346.3 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.1188, allocations: 256 kB / 346.5 MB, free: 312 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.1189, allocations: 228.7 kB / 346.8 MB, free: 80 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.1192, allocations: 118.6 kB / 346.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.1194, allocations: 354.8 kB / 347.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004918/0.1199, allocations: 205.9 kB / 347.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005744/0.1204, allocations: 305.3 kB / 347.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.1215, allocations: 0.5143 MB / 348.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1215, allocations: 0 / 348.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001238/0.1228, allocations: 0.6333 MB / 348.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1228, allocations: 4 kB / 348.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1228, allocations: 8.188 kB / 348.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.1228, allocations: 4 kB / 348.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/0.1236, allocations: 163.8 kB / 349 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1236, allocations: 4 kB / 349.1 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.1241, allocations: 71.34 kB / 349.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.1242, allocations: 24 kB / 349.1 MB, free: 13.62 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.0002492/0.1244, allocations: 193.6 kB / 349.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.366e-05/0.1245, allocations: 39.53 kB / 349.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.1259, allocations: 0.6084 MB / 350 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.1259, allocations: 8 kB / 350 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1259, allocations: 0 / 350 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.1259, allocations: 3.984 kB / 350 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/0.128, allocations: 1.288 MB / 351.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1281, allocations: 0 / 351.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005612/0.1286, allocations: 131.8 kB / 351.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.1286, allocations: 0 / 351.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/0.1287, allocations: 27.92 kB / 351.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1287, allocations: 0 / 351.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1287, allocations: 4 kB / 351.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.1304, allocations: 0.9627 MB / 352.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.1305, allocations: 132.6 kB / 352.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/0.1306, allocations: 11.94 kB / 352.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/0.131, allocations: 31.98 kB / 352.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.1311, allocations: 44.44 kB / 352.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/0.1312, allocations: 23.98 kB / 352.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.1313, allocations: 184.5 kB / 352.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1314, allocations: 0 / 352.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005862/0.1319, allocations: 171.5 kB / 353 MB, free: 9.668 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.002086/0.134, allocations: 1.57 MB / 354.6 MB, free: 8.074 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.1352, allocations: 0.5352 MB / 355.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1352, allocations: 0 / 355.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004969/0.1357, allocations: 271.5 kB / 355.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.1363, allocations: 52.47 kB / 355.4 MB, free: 7.223 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006431/0.1427, allocations: 4.488 MB / 359.9 MB, free: 2.625 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.1431, allocations: 0.8502 MB / 360.8 MB, free: 1.746 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004172/0.1436, allocations: 79.39 kB / 360.8 MB, free: 1.668 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.1438, allocations: 187.4 kB / 361 MB, free: 1.484 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1438, allocations: 0 / 361 MB, free: 1.484 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04345/0.1873, allocations: 8.741 MB / 369.8 MB, free: 8.703 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.1875, allocations: 237.2 kB / 370 MB, free: 8.445 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/2.196, allocations: 0 / 370 MB, free: 8.445 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