Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00233/0.00233, allocations: 102.1 kB / 18.4 MB, free: 4.68 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.003084/0.003084, allocations: 190.4 kB / 19.33 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.039/3.039, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 43.94 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1901, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.01184/0.202, allocations: 4.143 MB / 380 MB, free: 424 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.6204/0.8225, allocations: 1.664 MB / 381.6 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.8241, allocations: 12.03 kB / 381.6 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004797/0.8289, allocations: 1.015 MB / 382.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001866/0.8308, allocations: 229.1 kB / 382.9 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003415/0.8342, allocations: 0.7909 MB / 383.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0105/0.8447, allocations: 0.6271 MB / 384.3 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.847, allocations: 0.4931 MB / 384.8 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.8483, allocations: 264.7 kB / 385 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.8498, allocations: 336.7 kB / 385.4 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004891/0.8503, allocations: 55.78 kB / 385.4 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.8524, allocations: 274.6 kB / 385.7 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004051/0.8529, allocations: 133.8 kB / 385.8 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.8543, allocations: 305.6 kB / 386.1 MB, free: 8.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003927/0.8583, allocations: 0.9053 MB / 387 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.8583, allocations: 0 / 387 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.8583, allocations: 1.469 kB / 387 MB, free: 8.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.916e-05/0.8584, allocations: 0 / 387 MB, free: 8.266 MB / 318.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.007186/0.8656, allocations: 1.207 MB / 388.2 MB, free: 7.559 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.113e-05/0.8657, allocations: 14.09 kB / 388.2 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.8678, allocations: 174.8 kB / 388.4 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.8682, allocations: 239.9 kB / 388.7 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.8684, allocations: 50.33 kB / 388.7 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003155/0.8687, allocations: 67.75 kB / 388.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/0.8716, allocations: 0.706 MB / 389.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.929e-05/0.8716, allocations: 1.188 kB / 389.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.8718, allocations: 26.3 kB / 389.5 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.8718, allocations: 19.42 kB / 389.5 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.8741, allocations: 0.5986 MB / 390.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005996/0.8802, allocations: 2.308 MB / 392.4 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/0.8827, allocations: 1.637 MB / 394.1 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008856/0.8836, allocations: 273.5 kB / 394.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.8839, allocations: 96.55 kB / 394.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.95e-05/0.884, allocations: 43.36 kB / 394.5 MB, free: 3.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 6.492e-06/0.8841, allocations: 0 / 394.5 MB, free: 3.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.002855/0.8869, allocations: 0.7048 MB / 395.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.887, allocations: 109.9 kB / 395.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/0.8876, allocations: 253.8 kB / 395.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.253e-05/0.8877, allocations: 35.2 kB / 395.6 MB, free: 2.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.8879, allocations: 282 kB / 395.8 MB, free: 2.656 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/0.8882, allocations: 220.2 kB / 396.1 MB, free: 2.488 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/0.8886, allocations: 122.5 kB / 396.2 MB, free: 2.418 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.8887, allocations: 347.5 kB / 396.5 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007644/0.8895, allocations: 210.6 kB / 396.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009185/0.8904, allocations: 299.2 kB / 397 MB, free: 1.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.8922, allocations: 0.5131 MB / 397.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.8922, allocations: 0 / 397.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002365/0.8946, allocations: 0.6278 MB / 398.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.8947, allocations: 5.734 kB / 398.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.8947, allocations: 2.719 kB / 398.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.523e-05/0.8947, allocations: 4.219 kB / 398.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.8959, allocations: 159.9 kB / 398.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.719e-05/0.896, allocations: 6.328 kB / 398.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008631/0.8968, allocations: 80.94 kB / 398.4 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.897, allocations: 24.36 kB / 398.4 MB, free: 1.273 MB / 318.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.0005089/0.8975, allocations: 191.8 kB / 398.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.8977, allocations: 34.09 kB / 398.7 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.8998, allocations: 0.6036 MB / 399.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.8999, allocations: 6.938 kB / 399.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.8999, allocations: 4 kB / 399.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.8999, allocations: 5.531 kB / 399.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004241/0.9042, allocations: 1.29 MB / 400.6 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.9042, allocations: 5.359 kB / 400.6 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008322/0.905, allocations: 129.8 kB / 400.7 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.162e-05/0.9051, allocations: 2.75 kB / 400.7 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.935e-05/0.9052, allocations: 13.95 kB / 400.7 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.385e-05/0.9052, allocations: 6.688 kB / 400.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.9052, allocations: 5.938 kB / 400.7 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/0.9081, allocations: 0.972 MB / 401.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.9084, allocations: 123.8 kB / 401.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.9085, allocations: 11.83 kB / 401.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006887/0.9092, allocations: 34.94 kB / 401.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.9094, allocations: 39.8 kB / 401.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/0.9095, allocations: 18.66 kB / 401.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000372/0.9099, allocations: 190.5 kB / 402.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.9099, allocations: 0 / 402.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001266/0.9112, allocations: 175.3 kB / 402.3 MB, free: 15.24 MB / 334.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.000481/0.9117, allocations: 149.5 kB / 402.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002114/0.9138, allocations: 0.526 MB / 402.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.9138, allocations: 1.156 kB / 402.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.9149, allocations: 280.4 kB / 403.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.916, allocations: 48.88 kB / 403.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/0.9206, allocations: 1.101 MB / 404.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009432/0.9216, allocations: 0.8437 MB / 405.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/0.922, allocations: 52.58 kB / 405.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of SimCode: time 2.806e-06/0.922, allocations: 1.156 kB / 405.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of Templates: time 0.02498/0.947, allocations: 6.823 MB / 412.1 MB, free: 10.06 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches