Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001093/0.001093, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2542, allocations: 50.55 MB / 408.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00491/0.2592, allocations: 4.187 MB / 412.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.2618, allocations: 1.716 MB / 414.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.262, allocations: 12 kB / 414.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.2642, allocations: 1.011 MB / 415.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005172/0.2647, allocations: 238.2 kB / 415.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.2661, allocations: 0.759 MB / 416.7 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005519/0.2667, allocations: 0.6144 MB / 417.3 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007024/0.2674, allocations: 495.4 kB / 417.8 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003716/0.2678, allocations: 263 kB / 418 MB, free: 8.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003491/0.2681, allocations: 338.6 kB / 418.4 MB, free: 7.902 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.057e-05/0.2682, allocations: 56 kB / 418.4 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005533/0.2688, allocations: 287.7 kB / 418.7 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.301e-05/0.2689, allocations: 127.6 kB / 418.8 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002475/0.2691, allocations: 310.5 kB / 419.1 MB, free: 7.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000951/0.2701, allocations: 0.9408 MB / 420.1 MB, free: 6.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2701, allocations: 0 / 420.1 MB, free: 6.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.2701, allocations: 4 kB / 420.1 MB, free: 6.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.2701, allocations: 3.938 kB / 420.1 MB, free: 6.188 MB / 334.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.00355/0.2737, allocations: 1.228 MB / 421.3 MB, free: 4.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.2737, allocations: 16.03 kB / 421.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.2739, allocations: 106.7 kB / 421.4 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.2751, allocations: 192.4 kB / 421.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.2753, allocations: 248.2 kB / 421.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.2753, allocations: 46.38 kB / 421.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.841e-05/0.2754, allocations: 72.31 kB / 422 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.2766, allocations: 0.6998 MB / 422.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.2766, allocations: 4 kB / 422.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.651e-05/0.2767, allocations: 28 kB / 422.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.2767, allocations: 16 kB / 422.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.2779, allocations: 0.6023 MB / 423.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003123/0.281, allocations: 2.313 MB / 425.6 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.2826, allocations: 1.636 MB / 427.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/0.2831, allocations: 274.9 kB / 427.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/0.2833, allocations: 178.8 kB / 427.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.2834, allocations: 35.12 kB / 427.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.324e-06/0.2834, allocations: 4 kB / 427.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001423/0.2848, allocations: 0.6978 MB / 428.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.2849, allocations: 111.4 kB / 428.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.2852, allocations: 268.9 kB / 428.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.2852, allocations: 33.7 kB / 428.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.2854, allocations: 276.8 kB / 429.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.2855, allocations: 230 kB / 429.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.2857, allocations: 122.6 kB / 429.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2858, allocations: 350.7 kB / 429.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.2863, allocations: 205.9 kB / 430 MB, free: 11.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.2868, allocations: 309.4 kB / 430.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009258/0.2877, allocations: 0.5065 MB / 430.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.2877, allocations: 0 / 430.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001135/0.2889, allocations: 0.6298 MB / 431.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2889, allocations: 8 kB / 431.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2889, allocations: 0 / 431.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.2889, allocations: 4 kB / 431.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006858/0.2896, allocations: 159.8 kB / 431.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.2897, allocations: 8 kB / 431.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/0.2901, allocations: 75.59 kB / 431.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.2902, allocations: 31.98 kB / 431.7 MB, free: 9.875 MB / 350.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.0002217/0.2904, allocations: 189.6 kB / 431.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.503e-05/0.2905, allocations: 43.7 kB / 432 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.2917, allocations: 0.6007 MB / 432.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.2917, allocations: 7.938 kB / 432.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2917, allocations: 4 kB / 432.6 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.2918, allocations: 3.984 kB / 432.6 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.2938, allocations: 1.286 MB / 433.9 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2938, allocations: 4 kB / 433.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005299/0.2944, allocations: 123.8 kB / 434 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.2944, allocations: 4 kB / 434 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.2944, allocations: 23.92 kB / 434 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2944, allocations: 0 / 434 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2944, allocations: 4 kB / 434 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.296, allocations: 0.9676 MB / 435 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.2962, allocations: 120.8 kB / 435.1 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.941e-05/0.2962, allocations: 23.92 kB / 435.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/0.2966, allocations: 31.92 kB / 435.2 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-05/0.2967, allocations: 40.5 kB / 435.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.2968, allocations: 20 kB / 435.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.297, allocations: 192.5 kB / 435.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.297, allocations: 0 / 435.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006098/0.2976, allocations: 183.6 kB / 435.6 MB, free: 5.914 MB / 350.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.001958/0.2996, allocations: 1.559 MB / 437.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.3007, allocations: 0.5312 MB / 437.7 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3007, allocations: 0 / 437.7 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004748/0.3011, allocations: 279.4 kB / 437.9 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.3017, allocations: 48.5 kB / 438 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005881/0.3075, allocations: 4.203 MB / 442.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.308, allocations: 0.8499 MB / 443 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003413/0.3083, allocations: 71.42 kB / 443.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.3086, allocations: 183.4 kB / 443.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3086, allocations: 4 kB / 443.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.3345, allocations: 9.363 MB / 452.7 MB, free: 4.836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.375, allocations: 10.11 kB / 452.7 MB, free: 4.828 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv","/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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches