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.000833/0.0008331, allocations: 94.55 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009765/0.0009765, allocations: 207.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.224/1.224, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001937/0.0001937, allocations: 7.938 kB / 307.9 MB, free: 0.7109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0778/0.07801, allocations: 51.52 MB / 359.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00371/0.08175, allocations: 3.772 MB / 363.1 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.08425, allocations: 1.682 MB / 364.8 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002991/0.08457, allocations: 16 kB / 364.8 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005009/0.08508, allocations: 211.1 kB / 365 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004976/0.08559, allocations: 198.8 kB / 365.2 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.08689, allocations: 0.7279 MB / 366 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004573/0.08736, allocations: 0.5867 MB / 366.6 MB, free: 5.969 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.08868, allocations: 0.9076 MB / 367.5 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.08896, allocations: 231 kB / 367.7 MB, free: 4.809 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.08927, allocations: 290.6 kB / 368 MB, free: 4.523 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.95e-05/0.08933, allocations: 28 kB / 368 MB, free: 4.496 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004104/0.08974, allocations: 259.7 kB / 368.3 MB, free: 4.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.997e-05/0.08982, allocations: 99.59 kB / 368.4 MB, free: 4.145 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.09003, allocations: 304.2 kB / 368.7 MB, free: 3.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000743/0.09078, allocations: 0.8916 MB / 369.5 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.09079, allocations: 4 kB / 369.5 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.0908, allocations: 0 / 369.5 MB, free: 2.941 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.09081, allocations: 0 / 369.5 MB, free: 2.941 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.003081/0.0939, allocations: 1.12 MB / 370.7 MB, free: 1.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.09394, allocations: 8.031 kB / 370.7 MB, free: 1.762 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.09405, allocations: 114.7 kB / 370.8 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.09519, allocations: 188 kB / 371 MB, free: 1.457 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.09536, allocations: 244 kB / 371.2 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.09541, allocations: 50.38 kB / 371.3 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.554e-05/0.09551, allocations: 68.38 kB / 371.3 MB, free: 1.062 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.09661, allocations: 0.7075 MB / 372 MB, free: 344 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.09664, allocations: 4 kB / 372 MB, free: 340 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.676e-05/0.09671, allocations: 28 kB / 372.1 MB, free: 312 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.09672, allocations: 16 kB / 372.1 MB, free: 296 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1335/0.2302, allocations: 0.6167 MB / 372.7 MB, free: 18.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003168/0.2334, allocations: 2.336 MB / 375 MB, free: 17.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.2347, allocations: 1.625 MB / 376.7 MB, free: 16.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005082/0.2352, allocations: 290.7 kB / 376.9 MB, free: 16.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.2354, allocations: 180.7 kB / 377.1 MB, free: 16.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.2354, allocations: 38.25 kB / 377.2 MB, free: 16.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.445e-06/0.2354, allocations: 0 / 377.2 MB, free: 16.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001422/0.2369, allocations: 0.7324 MB / 377.9 MB, free: 16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.2369, allocations: 112.6 kB / 378 MB, free: 15.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.2372, allocations: 263 kB / 378.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.2372, allocations: 36.34 kB / 378.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.2373, allocations: 267 kB / 378.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.2374, allocations: 227.5 kB / 378.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.289e-05/0.2375, allocations: 58.56 kB / 378.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.788e-05/0.2376, allocations: 347.8 kB / 379.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/0.238, allocations: 219.2 kB / 379.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/0.2385, allocations: 309.2 kB / 379.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008762/0.2394, allocations: 0.5343 MB / 380.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2394, allocations: 1.562 kB / 380.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001091/0.2405, allocations: 0.6476 MB / 380.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2405, allocations: 10.55 kB / 380.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2405, allocations: 2.172 kB / 380.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.2405, allocations: 5.219 kB / 380.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/0.2412, allocations: 163.9 kB / 381 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.2412, allocations: 4.797 kB / 381.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.2417, allocations: 86.2 kB / 381.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.2417, allocations: 22.66 kB / 381.2 MB, free: 14.09 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.0001727/0.2419, allocations: 183.1 kB / 381.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.242, allocations: 38.67 kB / 381.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.2431, allocations: 0.6252 MB / 382 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.2431, allocations: 7.125 kB / 382 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2431, allocations: 2.734 kB / 382 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.2432, allocations: 5.094 kB / 382 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.245, allocations: 1.319 MB / 383.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.245, allocations: 0.9375 kB / 383.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005353/0.2456, allocations: 127.9 kB / 383.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.2456, allocations: 3.219 kB / 383.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.2456, allocations: 18.77 kB / 383.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2457, allocations: 3.062 kB / 383.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2457, allocations: 0 / 383.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.2471, allocations: 1.005 MB / 384.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.2472, allocations: 120.8 kB / 384.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.008e-05/0.2473, allocations: 11.16 kB / 384.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.2477, allocations: 39.42 kB / 384.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.2478, allocations: 44.31 kB / 384.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.2478, allocations: 21.5 kB / 384.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.248, allocations: 191.9 kB / 384.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.248, allocations: 0 / 384.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005531/0.2486, allocations: 183.8 kB / 385.1 MB, free: 12.06 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.001752/0.2503, allocations: 1.589 MB / 386.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.2513, allocations: 0.5524 MB / 387.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2514, allocations: 1.094 kB / 387.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.2518, allocations: 283.4 kB / 387.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.2523, allocations: 52.67 kB / 387.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005473/0.2578, allocations: 4.603 MB / 392.2 MB, free: 7.824 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.258, allocations: 0.8408 MB / 393 MB, free: 7.117 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003788/0.2584, allocations: 76.47 kB / 393.1 MB, free: 7.086 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.2587, allocations: 189.8 kB / 393.3 MB, free: 6.949 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2587, allocations: 0 / 393.3 MB, free: 6.949 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.2755, allocations: 8.63 MB / 401.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/0.2757, allocations: 258.4 kB / 402.1 MB, free: 2.156 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.244, allocations: 0 / 402.1 MB, free: 2.156 MB / 302.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches