Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_cpp_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_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009426/0.0009429, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 226.6 MB / 244.3 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007753/0.0007754, allocations: 101.6 kB / 296.4 MB, free: 6.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002276/0.0002276, allocations: 11.98 kB / 356.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.197, allocations: 51.29 MB / 407.5 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.002935/0.1999, allocations: 3.548 MB / 411.1 MB, free: 24.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.2019, allocations: 1.573 MB / 412.6 MB, free: 22.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.2021, allocations: 12 kB / 412.6 MB, free: 22.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.2025, allocations: 167.1 kB / 412.8 MB, free: 22.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.2029, allocations: 196.8 kB / 413 MB, free: 22.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.2039, allocations: 0.6189 MB / 413.6 MB, free: 21.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.2043, allocations: 0.5789 MB / 414.2 MB, free: 21.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.2054, allocations: 0.8228 MB / 415 MB, free: 20.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.2057, allocations: 231.1 kB / 415.2 MB, free: 20.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.2059, allocations: 290.8 kB / 415.5 MB, free: 19.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/0.206, allocations: 24 kB / 415.5 MB, free: 19.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004017/0.2064, allocations: 251.8 kB / 415.8 MB, free: 19.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.2064, allocations: 103.5 kB / 415.9 MB, free: 19.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.775e-05/0.2065, allocations: 129.4 kB / 416 MB, free: 19.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004852/0.207, allocations: 0.6904 MB / 416.7 MB, free: 18.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.207, allocations: 0 / 416.7 MB, free: 18.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.207, allocations: 0 / 416.7 MB, free: 18.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.207, allocations: 0 / 416.7 MB, free: 18.55 MB / 298.7 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.002926/0.21, allocations: 1.128 MB / 417.8 MB, free: 17.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.21, allocations: 8.031 kB / 417.8 MB, free: 17.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.2111, allocations: 179.1 kB / 418 MB, free: 17.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.2113, allocations: 234.9 kB / 418.3 MB, free: 16.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.2113, allocations: 50 kB / 418.3 MB, free: 16.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.2114, allocations: 64 kB / 418.4 MB, free: 16.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.2125, allocations: 0.7074 MB / 419.1 MB, free: 16.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.2125, allocations: 7.906 kB / 419.1 MB, free: 16.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/0.2126, allocations: 28 kB / 419.1 MB, free: 16.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.2126, allocations: 16 kB / 419.1 MB, free: 16.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.2137, allocations: 0.6142 MB / 419.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002701/0.2164, allocations: 2.336 MB / 422.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.2176, allocations: 1.631 MB / 423.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004376/0.218, allocations: 290.7 kB / 424 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.2182, allocations: 174.8 kB / 424.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.2182, allocations: 39.12 kB / 424.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 3.296e-06/0.2182, allocations: 4 kB / 424.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001347/0.2196, allocations: 0.7288 MB / 424.9 MB, free: 9.805 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.2196, allocations: 111.4 kB / 425 MB, free: 9.668 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.2199, allocations: 264.8 kB / 425.3 MB, free: 9.398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.2199, allocations: 33.7 kB / 425.3 MB, free: 9.359 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.894e-05/0.22, allocations: 268.1 kB / 425.6 MB, free: 9.094 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.826e-05/0.2201, allocations: 216.8 kB / 425.8 MB, free: 8.879 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.2201, allocations: 16 kB / 425.8 MB, free: 8.863 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.2202, allocations: 342.8 kB / 426.2 MB, free: 8.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004111/0.2206, allocations: 221.9 kB / 426.4 MB, free: 8.301 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004373/0.2211, allocations: 309.3 kB / 426.7 MB, free: 7.973 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.2215, allocations: 263.2 kB / 426.9 MB, free: 7.719 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2215, allocations: 0 / 426.9 MB, free: 7.719 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00102/0.2226, allocations: 0.6414 MB / 427.6 MB, free: 7.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2226, allocations: 4 kB / 427.6 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2226, allocations: 4 kB / 427.6 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.2226, allocations: 4 kB / 427.6 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/0.2233, allocations: 171.7 kB / 427.7 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.2233, allocations: 7.984 kB / 427.8 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/0.2238, allocations: 75.36 kB / 427.8 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/0.2238, allocations: 31.98 kB / 427.9 MB, free: 6.777 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001858/0.224, allocations: 181.7 kB / 428 MB, free: 6.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.503e-05/0.2241, allocations: 43.48 kB / 428.1 MB, free: 6.547 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.2252, allocations: 0.624 MB / 428.7 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.2252, allocations: 8 kB / 428.7 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2252, allocations: 4 kB / 428.7 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2252, allocations: 0 / 428.7 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.2269, allocations: 1.308 MB / 430 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.2269, allocations: 3.984 kB / 430 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/0.2274, allocations: 131.8 kB / 430.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.2274, allocations: 11.98 kB / 430.2 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.2275, allocations: 15.94 kB / 430.2 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.2275, allocations: 0 / 430.2 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.2275, allocations: 4 kB / 430.2 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.2289, allocations: 0.9978 MB / 431.2 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.102e-05/0.229, allocations: 124.6 kB / 431.3 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.204e-05/0.229, allocations: 11.94 kB / 431.3 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.2294, allocations: 35.97 kB / 431.4 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.2295, allocations: 44.5 kB / 431.4 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.2295, allocations: 16 kB / 431.4 MB, free: 3.109 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.2297, allocations: 196.5 kB / 431.6 MB, free: 2.918 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2297, allocations: 0 / 431.6 MB, free: 2.918 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005051/0.2302, allocations: 179.4 kB / 431.8 MB, free: 2.742 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002212/0.2304, allocations: 159 kB / 431.9 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009602/0.2314, allocations: 0.5507 MB / 432.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2314, allocations: 0 / 432.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004356/0.2319, allocations: 283.4 kB / 432.8 MB, free: 1.754 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.2323, allocations: 49.36 kB / 432.8 MB, free: 1.707 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.2341, allocations: 1.344 MB / 434.2 MB, free: 336 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.2344, allocations: 0.8385 MB / 435 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.2346, allocations: 59.41 kB / 435.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2346, allocations: 3.938 kB / 435.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of Templates: time 0.008465/0.2431, allocations: 6.681 MB / 441.7 MB, free: 8.762 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches