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.001562/0.001562, allocations: 97.73 kB / 16.5 MB, free: 6.203 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.001761/0.001761, allocations: 194.8 kB / 17.43 MB, free: 5.844 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.357/1.357, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000935/0.0009351, allocations: 43.05 kB / 300.1 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0891/0.09005, allocations: 49.45 MB / 349.5 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006021/0.09612, allocations: 4.184 MB / 353.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.09884, allocations: 1.623 MB / 355.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.09915, allocations: 12 kB / 355.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.1012, allocations: 0.9604 MB / 356.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004602/0.1017, allocations: 190.8 kB / 356.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.103, allocations: 0.7706 MB / 357.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004881/0.1035, allocations: 0.591 MB / 357.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006367/0.1042, allocations: 450 kB / 358.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.1045, allocations: 255 kB / 358.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.1048, allocations: 330.6 kB / 358.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.137e-05/0.1049, allocations: 43.94 kB / 358.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004324/0.1053, allocations: 251.7 kB / 359.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.614e-05/0.1054, allocations: 115.5 kB / 359.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.1057, allocations: 298.5 kB / 359.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007748/0.1064, allocations: 0.8916 MB / 360.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1065, allocations: 0 / 360.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1065, allocations: 4 kB / 360.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1065, allocations: 0 / 360.4 MB, free: 9.773 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.003409/0.1099, allocations: 1.21 MB / 361.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.11, allocations: 8.031 kB / 361.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.1101, allocations: 118.7 kB / 361.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.1112, allocations: 172.1 kB / 361.9 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.1114, allocations: 244 kB / 362.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/0.1115, allocations: 46.38 kB / 362.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.603e-05/0.1116, allocations: 68.38 kB / 362.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.1129, allocations: 0.7113 MB / 363 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.113, allocations: 4 kB / 363 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.973e-05/0.113, allocations: 24 kB / 363 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.113, allocations: 19.98 kB / 363.1 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.1143, allocations: 0.5985 MB / 363.7 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003406/0.1177, allocations: 2.324 MB / 366 MB, free: 3.984 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.1196, allocations: 1.625 MB / 367.6 MB, free: 2.129 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005421/0.1202, allocations: 270.5 kB / 367.9 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.1204, allocations: 101.6 kB / 368 MB, free: 1.746 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.1204, allocations: 47.16 kB / 368 MB, free: 1.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.334e-06/0.1204, allocations: 0 / 368 MB, free: 1.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001666/0.1221, allocations: 0.6977 MB / 368.7 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001857/0.1223, allocations: 111.4 kB / 368.8 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/0.1227, allocations: 265 kB / 369.1 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.1227, allocations: 41.64 kB / 369.1 MB, free: 0.543 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.1229, allocations: 260 kB / 369.4 MB, free: 292 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.1231, allocations: 224.7 kB / 369.6 MB, free: 64 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1542/0.2773, allocations: 112.1 kB / 369.7 MB, free: 25.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.2774, allocations: 349.1 kB / 370 MB, free: 25.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005379/0.278, allocations: 210.5 kB / 370.2 MB, free: 25.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.2785, allocations: 299.3 kB / 370.5 MB, free: 25.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000963/0.2795, allocations: 0.5112 MB / 371.1 MB, free: 25.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.2795, allocations: 1.188 kB / 371.1 MB, free: 25.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001295/0.2808, allocations: 0.6318 MB / 371.7 MB, free: 25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.2809, allocations: 7.75 kB / 371.7 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2809, allocations: 3.031 kB / 371.7 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.2809, allocations: 5.953 kB / 371.7 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007349/0.2816, allocations: 159.1 kB / 371.9 MB, free: 24.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.2817, allocations: 4.609 kB / 371.9 MB, free: 24.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.2822, allocations: 72.95 kB / 371.9 MB, free: 24.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.2822, allocations: 25.64 kB / 372 MB, free: 24.99 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.0002495/0.2825, allocations: 188.3 kB / 372.1 MB, free: 24.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.2826, allocations: 45.02 kB / 372.2 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.284, allocations: 0.6042 MB / 372.8 MB, free: 24.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/0.284, allocations: 6.719 kB / 372.8 MB, free: 24.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.284, allocations: 5.156 kB / 372.8 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.284, allocations: 4.078 kB / 372.8 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.2861, allocations: 1.292 MB / 374.1 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2861, allocations: 5.391 kB / 374.1 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005734/0.2867, allocations: 128.9 kB / 374.2 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.2867, allocations: 2.75 kB / 374.2 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.2868, allocations: 21.11 kB / 374.3 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.2868, allocations: 3.359 kB / 374.3 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.2868, allocations: 1.406 kB / 374.3 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.2883, allocations: 0.9784 MB / 375.2 MB, free: 23.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.01e-05/0.2884, allocations: 123.9 kB / 375.4 MB, free: 23.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.236e-05/0.2885, allocations: 11.55 kB / 375.4 MB, free: 23.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.2889, allocations: 27.7 kB / 375.4 MB, free: 23.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.289, allocations: 43.59 kB / 375.4 MB, free: 23.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.289, allocations: 18.44 kB / 375.5 MB, free: 23.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.2892, allocations: 194 kB / 375.6 MB, free: 23.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2892, allocations: 0 / 375.6 MB, free: 23.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005858/0.2898, allocations: 182.9 kB / 375.8 MB, free: 23.01 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.001783/0.2916, allocations: 1.562 MB / 377.4 MB, free: 21.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.2927, allocations: 0.5349 MB / 377.9 MB, free: 21.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2927, allocations: 0 / 377.9 MB, free: 21.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004673/0.2932, allocations: 274.1 kB / 378.2 MB, free: 21.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.2937, allocations: 49.81 kB / 378.2 MB, free: 21.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005598/0.2993, allocations: 4.496 MB / 382.7 MB, free: 18.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.2996, allocations: 0.8466 MB / 383.6 MB, free: 18.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004274/0.3001, allocations: 75.16 kB / 383.7 MB, free: 18.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.3003, allocations: 186.7 kB / 383.8 MB, free: 17.96 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3003, allocations: 0 / 383.8 MB, free: 17.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.319, allocations: 8.78 MB / 392.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/0.3192, allocations: 245.1 kB / 392.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.314, allocations: 0 / 392.9 MB, free: 14.84 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