Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_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.001167/0.001167, allocations: 89.52 kB / 16.65 MB, free: 6.586 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.001587/0.001587, allocations: 181.6 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.3 MB / 241.6 MB, free: 228 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002754/0.0002755, allocations: 8 kB / 301.5 MB, free: 6.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.09944, allocations: 50.42 MB / 352 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004481/0.104, allocations: 3.755 MB / 355.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002916/0.1069, allocations: 1.604 MB / 357.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004021/0.1073, allocations: 12 kB / 357.3 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006864/0.1081, allocations: 215.1 kB / 357.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007791/0.1088, allocations: 186.8 kB / 357.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.1105, allocations: 0.7703 MB / 358.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007851/0.1113, allocations: 0.591 MB / 359.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.113, allocations: 0.8959 MB / 360 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004145/0.1134, allocations: 231 kB / 360.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.1139, allocations: 298.7 kB / 360.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/0.1139, allocations: 28 kB / 360.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005547/0.1145, allocations: 239.7 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.507e-05/0.1146, allocations: 103.5 kB / 360.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.1149, allocations: 304.2 kB / 361.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.1159, allocations: 0.8722 MB / 362 MB, free: 9.445 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1159, allocations: 0 / 362 MB, free: 9.445 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.1159, allocations: 0 / 362 MB, free: 9.445 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.116, allocations: 3.938 kB / 362 MB, free: 9.441 MB / 302.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.003605/0.1196, allocations: 1.097 MB / 363.1 MB, free: 8.293 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1196, allocations: 12.03 kB / 363.1 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002005/0.1198, allocations: 114.6 kB / 363.3 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.121, allocations: 176 kB / 363.4 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1213, allocations: 245 kB / 363.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.247e-05/0.1213, allocations: 50.38 kB / 363.7 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.1215, allocations: 72.36 kB / 363.8 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.123, allocations: 0.723 MB / 364.5 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.123, allocations: 0 / 364.5 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.1231, allocations: 24 kB / 364.5 MB, free: 6.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.1231, allocations: 19.94 kB / 364.5 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.1245, allocations: 0.6248 MB / 365.2 MB, free: 6.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00356/0.128, allocations: 2.332 MB / 367.5 MB, free: 3.715 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.1298, allocations: 1.64 MB / 369.1 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/0.1304, allocations: 286.4 kB / 369.4 MB, free: 1.562 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.1305, allocations: 101.6 kB / 369.5 MB, free: 1.445 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1306, allocations: 47.16 kB / 369.6 MB, free: 1.391 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.104e-06/0.1306, allocations: 0 / 369.6 MB, free: 1.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001707/0.1323, allocations: 0.7291 MB / 370.3 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.1324, allocations: 115.3 kB / 370.4 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.1327, allocations: 260.9 kB / 370.7 MB, free: 264 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.1327, allocations: 33.7 kB / 370.7 MB, free: 224 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1698/0.3025, allocations: 257.2 kB / 371 MB, free: 24.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003681/0.3029, allocations: 221.8 kB / 371.2 MB, free: 24.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.3031, allocations: 57.52 kB / 371.2 MB, free: 24.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3032, allocations: 348.8 kB / 371.6 MB, free: 24.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006758/0.3039, allocations: 220.9 kB / 371.8 MB, free: 24.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006774/0.3046, allocations: 313 kB / 372.1 MB, free: 24.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.3058, allocations: 0.5394 MB / 372.6 MB, free: 23.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.3058, allocations: 3.828 kB / 372.6 MB, free: 23.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001521/0.3073, allocations: 0.6476 MB / 373.3 MB, free: 23.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.3074, allocations: 7.328 kB / 373.3 MB, free: 23.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3074, allocations: 1.031 kB / 373.3 MB, free: 23.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.3074, allocations: 5.469 kB / 373.3 MB, free: 23.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007578/0.3082, allocations: 162.9 kB / 373.4 MB, free: 23.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/0.3082, allocations: 9.781 kB / 373.5 MB, free: 23.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005268/0.3087, allocations: 79.69 kB / 373.5 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/0.3088, allocations: 28.5 kB / 373.6 MB, free: 23.85 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.0002911/0.3091, allocations: 184.8 kB / 373.7 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3092, allocations: 38.92 kB / 373.8 MB, free: 23.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.3107, allocations: 0.6286 MB / 374.4 MB, free: 23.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.3108, allocations: 6.344 kB / 374.4 MB, free: 23.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.3108, allocations: 5.062 kB / 374.4 MB, free: 23.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.3108, allocations: 3.188 kB / 374.4 MB, free: 23.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.3131, allocations: 1.316 MB / 375.7 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.3131, allocations: 2.125 kB / 375.7 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/0.3137, allocations: 133.2 kB / 375.9 MB, free: 22.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.3137, allocations: 2.75 kB / 375.9 MB, free: 22.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.3138, allocations: 18.12 kB / 375.9 MB, free: 22.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.3138, allocations: 3.344 kB / 375.9 MB, free: 22.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3138, allocations: 2.25 kB / 375.9 MB, free: 22.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.3157, allocations: 1.012 MB / 376.9 MB, free: 22.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.497e-05/0.3158, allocations: 120 kB / 377 MB, free: 22.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.373e-05/0.3159, allocations: 16.31 kB / 377 MB, free: 22.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/0.3163, allocations: 35.28 kB / 377.1 MB, free: 22.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.3165, allocations: 41.55 kB / 377.1 MB, free: 22.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.3165, allocations: 18.02 kB / 377.1 MB, free: 22.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002342/0.3167, allocations: 191.3 kB / 377.3 MB, free: 22.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3168, allocations: 1.219 kB / 377.3 MB, free: 22.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006773/0.3174, allocations: 176.6 kB / 377.5 MB, free: 22.14 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.002172/0.3196, allocations: 1.597 MB / 379.1 MB, free: 21.06 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.3209, allocations: 0.5561 MB / 379.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3209, allocations: 3.828 kB / 379.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006211/0.3216, allocations: 286 kB / 379.9 MB, free: 20.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.3221, allocations: 51.95 kB / 380 MB, free: 20.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007072/0.3292, allocations: 4.589 MB / 384.6 MB, free: 17.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.3296, allocations: 0.842 MB / 385.4 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004575/0.3301, allocations: 82.03 kB / 385.5 MB, free: 17.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.3304, allocations: 190.5 kB / 385.7 MB, free: 17.04 MB / 302.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3304, allocations: 0 / 385.7 MB, free: 17.04 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05028/0.3807, allocations: 8.628 MB / 394.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/0.381, allocations: 237.6 kB / 394.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/2.55, allocations: 0 / 394.5 MB, free: 13.79 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches