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.001023/0.001023, allocations: 191.6 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 226.6 MB / 244.7 MB, free: 8.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007894/0.0007894, allocations: 100.8 kB / 296.8 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002199/0.00022, allocations: 8 kB / 356.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1981, allocations: 51.29 MB / 408 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.002755/0.2009, allocations: 3.579 MB / 411.6 MB, free: 24.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.2027, allocations: 1.573 MB / 413.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.2028, allocations: 12.91 kB / 413.2 MB, free: 22.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.2032, allocations: 167.1 kB / 413.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003707/0.2035, allocations: 194.2 kB / 413.6 MB, free: 22.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.2046, allocations: 0.6249 MB / 414.2 MB, free: 21.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.205, allocations: 0.575 MB / 414.8 MB, free: 21.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.2061, allocations: 0.8611 MB / 415.6 MB, free: 20.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.2064, allocations: 223.1 kB / 415.8 MB, free: 19.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.2066, allocations: 294.7 kB / 416.1 MB, free: 19.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.749e-05/0.2067, allocations: 24 kB / 416.2 MB, free: 19.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/0.2071, allocations: 255.8 kB / 416.4 MB, free: 19.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.2072, allocations: 99.53 kB / 416.5 MB, free: 19.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.2073, allocations: 284.4 kB / 416.8 MB, free: 18.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004699/0.2078, allocations: 0.6943 MB / 417.5 MB, free: 18.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2078, allocations: 0 / 417.5 MB, free: 18.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2078, allocations: 4 kB / 417.5 MB, free: 18.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.2078, allocations: 0 / 417.5 MB, free: 18.25 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.002857/0.2107, allocations: 1.112 MB / 418.6 MB, free: 17.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.2107, allocations: 11.97 kB / 418.6 MB, free: 17.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.2118, allocations: 184 kB / 418.8 MB, free: 16.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.2119, allocations: 240.2 kB / 419 MB, free: 16.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.212, allocations: 50.38 kB / 419.1 MB, free: 16.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.13e-05/0.2121, allocations: 68.28 kB / 419.1 MB, free: 16.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.2131, allocations: 0.7155 MB / 419.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.2132, allocations: 0 / 419.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/0.2132, allocations: 28 kB / 419.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.2132, allocations: 16 kB / 419.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.2143, allocations: 0.6181 MB / 420.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.2169, allocations: 2.324 MB / 422.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.2181, allocations: 1.64 MB / 424.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000435/0.2186, allocations: 286.5 kB / 424.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.2187, allocations: 174.8 kB / 424.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.2187, allocations: 47.11 kB / 425 MB, free: 10.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.124e-06/0.2188, allocations: 0 / 425 MB, free: 10.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001358/0.2201, allocations: 0.7249 MB / 425.7 MB, free: 9.508 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.2202, allocations: 111.4 kB / 425.8 MB, free: 9.375 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.2204, allocations: 269 kB / 426.1 MB, free: 9.102 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.2204, allocations: 33.7 kB / 426.1 MB, free: 9.062 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.391e-05/0.2205, allocations: 264 kB / 426.4 MB, free: 8.801 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.706e-05/0.2206, allocations: 228.7 kB / 426.6 MB, free: 8.574 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.2207, allocations: 8 kB / 426.6 MB, free: 8.566 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.237e-05/0.2207, allocations: 346.8 kB / 426.9 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004228/0.2211, allocations: 221.9 kB / 427.1 MB, free: 8.004 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/0.2216, allocations: 313.3 kB / 427.5 MB, free: 7.676 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008527/0.2225, allocations: 0.5259 MB / 428 MB, free: 7.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2225, allocations: 4 kB / 428 MB, free: 7.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001051/0.2235, allocations: 0.6492 MB / 428.6 MB, free: 6.469 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2236, allocations: 7.938 kB / 428.6 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2236, allocations: 0 / 428.6 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2236, allocations: 8 kB / 428.6 MB, free: 6.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.2242, allocations: 159.8 kB / 428.8 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.2243, allocations: 8 kB / 428.8 MB, free: 6.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.2247, allocations: 79.34 kB / 428.9 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.2248, allocations: 23.98 kB / 428.9 MB, free: 6.188 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.0001787/0.2249, allocations: 189.7 kB / 429.1 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.68e-05/0.225, allocations: 35.53 kB / 429.1 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.2262, allocations: 0.6201 MB / 429.8 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.2262, allocations: 8 kB / 429.8 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2262, allocations: 7.984 kB / 429.8 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.2262, allocations: 7.938 kB / 429.8 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.2279, allocations: 1.308 MB / 431.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2279, allocations: 0 / 431.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.2285, allocations: 135.8 kB / 431.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2285, allocations: 11.94 kB / 431.2 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.2285, allocations: 15.98 kB / 431.2 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2285, allocations: 7.938 kB / 431.2 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2285, allocations: 0 / 431.2 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.2299, allocations: 0.9978 MB / 432.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.411e-05/0.23, allocations: 132.5 kB / 432.4 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.23, allocations: 12 kB / 432.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/0.2304, allocations: 35.91 kB / 432.4 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.2305, allocations: 40.5 kB / 432.5 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.2305, allocations: 19.94 kB / 432.5 MB, free: 2.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.2307, allocations: 192.5 kB / 432.7 MB, free: 2.312 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2307, allocations: 0 / 432.7 MB, free: 2.312 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004839/0.2312, allocations: 183.5 kB / 432.8 MB, free: 2.133 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.0001911/0.2314, allocations: 143.2 kB / 433 MB, free: 1.984 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009455/0.2323, allocations: 0.5507 MB / 433.5 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2323, allocations: 0 / 433.5 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004544/0.2328, allocations: 287.4 kB / 433.8 MB, free: 1.156 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.2333, allocations: 46.83 kB / 433.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.235, allocations: 1.348 MB / 435.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.2354, allocations: 0.8463 MB / 436.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.2356, allocations: 51.42 kB / 436.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of SimCode: time 2.134e-06/0.2356, allocations: 0 / 436.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of Templates: time 0.008805/0.2444, allocations: 6.654 MB / 442.8 MB, free: 8.191 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