Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 115.5 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 214.8 kB / 19.41 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.399/1.399, allocations: 227.7 MB / 247.9 MB, free: 10.27 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 63.91 kB / 359.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2242, allocations: 50.55 MB / 410.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005564/0.2298, allocations: 4.191 MB / 414.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.2325, allocations: 1.716 MB / 416.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.2326, allocations: 12 kB / 416.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.2349, allocations: 1.022 MB / 417.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004882/0.2354, allocations: 238.2 kB / 417.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.2369, allocations: 0.7629 MB / 418.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006008/0.2375, allocations: 0.6066 MB / 418.8 MB, free: 8.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006044/0.2381, allocations: 371.5 kB / 419.1 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003469/0.2384, allocations: 267 kB / 419.4 MB, free: 8.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000414/0.2388, allocations: 342.6 kB / 419.7 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.2389, allocations: 52 kB / 419.8 MB, free: 7.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004973/0.2394, allocations: 291.7 kB / 420.1 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.2396, allocations: 131.5 kB / 420.2 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.2398, allocations: 306.5 kB / 420.5 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.2409, allocations: 0.9377 MB / 421.4 MB, free: 6.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2409, allocations: 7.938 kB / 421.4 MB, free: 6.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2409, allocations: 0 / 421.4 MB, free: 6.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.241, allocations: 0 / 421.4 MB, free: 6.211 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.003709/0.2447, allocations: 1.232 MB / 422.7 MB, free: 4.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2447, allocations: 12.03 kB / 422.7 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.246, allocations: 188.4 kB / 422.9 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.2462, allocations: 240.3 kB / 423.1 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.191e-05/0.2463, allocations: 58.38 kB / 423.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.2464, allocations: 72.31 kB / 423.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.2477, allocations: 0.696 MB / 423.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.2477, allocations: 0 / 423.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/0.2477, allocations: 24 kB / 423.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.2478, allocations: 20 kB / 424 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.249, allocations: 0.6101 MB / 424.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.2526, allocations: 2.309 MB / 426.9 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.2544, allocations: 1.57 MB / 428.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005098/0.2549, allocations: 248.8 kB / 428.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002055/0.2551, allocations: 178.8 kB / 428.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.2552, allocations: 43.12 kB / 428.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 1.974e-06/0.2552, allocations: 96 / 428.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.00156/0.2567, allocations: 0.6979 MB / 429.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.2568, allocations: 115.3 kB / 429.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.2571, allocations: 265 kB / 430 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.2572, allocations: 37.7 kB / 430 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.2574, allocations: 272.6 kB / 430.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.2575, allocations: 234 kB / 430.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.2577, allocations: 110.6 kB / 430.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.2579, allocations: 346.8 kB / 431 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/0.2584, allocations: 213.9 kB / 431.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/0.2589, allocations: 301.4 kB / 431.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.2602, allocations: 0.5181 MB / 432 MB, free: 11.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2602, allocations: 0 / 432 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00125/0.2615, allocations: 0.6259 MB / 432.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2615, allocations: 8 kB / 432.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2615, allocations: 192 / 432.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.2615, allocations: 12 kB / 432.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00072/0.2622, allocations: 159.8 kB / 432.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.2622, allocations: 4 kB / 432.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.2627, allocations: 75.48 kB / 432.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.2627, allocations: 24 kB / 432.9 MB, free: 10.11 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.0002311/0.263, allocations: 193.5 kB / 433.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.2631, allocations: 43.77 kB / 433.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.2643, allocations: 0.6007 MB / 433.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.2643, allocations: 4 kB / 433.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2644, allocations: 4 kB / 433.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2644, allocations: 7.922 kB / 433.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.2665, allocations: 1.286 MB / 435 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.2665, allocations: 0 / 435 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/0.2671, allocations: 131.8 kB / 435.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.2671, allocations: 8 kB / 435.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.2671, allocations: 12 kB / 435.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.2671, allocations: 3.938 kB / 435.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2671, allocations: 4 kB / 435.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.2688, allocations: 0.9715 MB / 436.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.2689, allocations: 124.7 kB / 436.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.77e-05/0.269, allocations: 15.94 kB / 436.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.2694, allocations: 35.92 kB / 436.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.2695, allocations: 44.56 kB / 436.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.2695, allocations: 16 kB / 436.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002018/0.2697, allocations: 192.5 kB / 436.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2697, allocations: 0 / 436.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005617/0.2703, allocations: 179.6 kB / 436.7 MB, free: 6.145 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.0002403/0.2705, allocations: 155 kB / 436.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.2716, allocations: 0.5 MB / 437.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2716, allocations: 0 / 437.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004879/0.2721, allocations: 247.1 kB / 437.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.2726, allocations: 44.42 kB / 437.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.2746, allocations: 1.068 MB / 438.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.2751, allocations: 0.8499 MB / 439.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003332/0.2754, allocations: 71.41 kB / 439.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.2755, allocations: 47.42 kB / 439.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2755, allocations: 4 kB / 439.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of Templates: time 0.01057/0.2861, allocations: 5.274 MB / 445 MB, free: 13.89 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches