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.001241/0.00124, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001268/0.001268, allocations: 183.1 kB / 18.66 MB, free: 4.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.547/1.547, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001752/0.001753, allocations: 55.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1056, allocations: 46.63 MB / 374.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006106/0.1117, allocations: 4.138 MB / 378.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2083/0.32, allocations: 1.663 MB / 380.5 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003566/0.3204, allocations: 11.41 kB / 380.5 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002676/0.3232, allocations: 1.011 MB / 381.5 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008752/0.3241, allocations: 238.4 kB / 381.7 MB, free: 9.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.3257, allocations: 0.7941 MB / 382.5 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007727/0.3265, allocations: 0.6217 MB / 383.1 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007976/0.3273, allocations: 496.9 kB / 383.6 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005159/0.3278, allocations: 271.6 kB / 383.9 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004253/0.3282, allocations: 335.1 kB / 384.2 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.465e-05/0.3283, allocations: 53.25 kB / 384.3 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006079/0.3289, allocations: 264.6 kB / 384.5 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.314e-05/0.329, allocations: 138.7 kB / 384.6 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002498/0.3293, allocations: 307.8 kB / 384.9 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.3305, allocations: 0.9118 MB / 385.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3305, allocations: 0.6094 kB / 385.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3306, allocations: 1.062 kB / 385.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3306, allocations: 0 / 385.9 MB, free: 7.996 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003519/0.3341, allocations: 1.225 MB / 387.1 MB, free: 7.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3342, allocations: 10.06 kB / 387.1 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.3343, allocations: 113.4 kB / 387.2 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.3355, allocations: 175.4 kB / 387.4 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.3357, allocations: 245.8 kB / 387.6 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.3358, allocations: 53.44 kB / 387.7 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.3359, allocations: 71.5 kB / 387.7 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.3373, allocations: 0.7014 MB / 388.4 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.3374, allocations: 1.625 kB / 388.4 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/0.3374, allocations: 31.14 kB / 388.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.3375, allocations: 15.91 kB / 388.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.3388, allocations: 0.5996 MB / 389.1 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.342, allocations: 2.309 MB / 391.4 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.3434, allocations: 1.627 MB / 393 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/0.344, allocations: 274.2 kB / 393.3 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.3442, allocations: 94.44 kB / 393.4 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.3442, allocations: 42.66 kB / 393.4 MB, free: 3.109 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.034e-06/0.3442, allocations: 1.656 kB / 393.4 MB, free: 3.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.001589/0.3458, allocations: 0.7046 MB / 394.1 MB, free: 2.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.3459, allocations: 113.3 kB / 394.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.3462, allocations: 261.4 kB / 394.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.3462, allocations: 36.61 kB / 394.5 MB, free: 2.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.3464, allocations: 277.6 kB / 394.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.3466, allocations: 236.3 kB / 395 MB, free: 2.098 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.3468, allocations: 116.3 kB / 395.2 MB, free: 2.035 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.069e-05/0.3469, allocations: 345.8 kB / 395.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/0.3474, allocations: 211.2 kB / 395.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.3479, allocations: 303.5 kB / 396 MB, free: 1.477 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.3489, allocations: 0.5125 MB / 396.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/0.349, allocations: 4.969 kB / 396.5 MB, free: 1.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001253/0.3502, allocations: 0.6306 MB / 397.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.3503, allocations: 10.44 kB / 397.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3503, allocations: 1.719 kB / 397.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.3503, allocations: 5.125 kB / 397.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006812/0.351, allocations: 165.5 kB / 397.3 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.351, allocations: 4.516 kB / 397.3 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005464/0.3516, allocations: 76.25 kB / 397.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.3516, allocations: 24.67 kB / 397.4 MB, free: 0.875 MB / 318.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.0002045/0.3518, allocations: 188.1 kB / 397.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.235e-05/0.3519, allocations: 38.38 kB / 397.6 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.3533, allocations: 0.6075 MB / 398.3 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.3533, allocations: 7.922 kB / 398.3 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.934e-06/0.3533, allocations: 0 / 398.3 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.3533, allocations: 4.828 kB / 398.3 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.3557, allocations: 1.283 MB / 399.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3557, allocations: 1.375 kB / 399.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006267/0.3563, allocations: 132.9 kB / 399.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.3563, allocations: 3.406 kB / 399.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.3564, allocations: 17.67 kB / 399.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.3564, allocations: 7.016 kB / 399.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3564, allocations: 1.375 kB / 399.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.3583, allocations: 0.9678 MB / 400.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.3585, allocations: 128 kB / 400.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.3586, allocations: 16.58 kB / 400.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.359, allocations: 26.75 kB / 400.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.3592, allocations: 48.27 kB / 400.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/0.3592, allocations: 22.31 kB / 400.9 MB, free: 15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002265/0.3594, allocations: 190.3 kB / 401.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3595, allocations: 1.094 kB / 401.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006463/0.3601, allocations: 181.4 kB / 401.3 MB, free: 14.83 MB / 334.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.002513/0.3626, allocations: 1.57 MB / 402.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.364, allocations: 0.5318 MB / 403.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.364, allocations: 9.125 kB / 403.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005363/0.3645, allocations: 271.2 kB / 403.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.3651, allocations: 43.58 kB / 403.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007706/0.3728, allocations: 4.228 MB / 407.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007182/0.3736, allocations: 0.8464 MB / 408.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004073/0.374, allocations: 77.66 kB / 408.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.3743, allocations: 193.1 kB / 409 MB, free: 9.953 MB / 334.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3743, allocations: 0 / 409 MB, free: 9.953 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03815/0.4125, allocations: 9.298 MB / 418.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.721/9.134, allocations: 3.938 kB / 418.3 MB, free: 2.859 MB / 334.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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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