Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009172/0.0009174, allocations: 197 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.335/1.335, allocations: 226.6 MB / 244.3 MB, free: 8.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008732/0.0008732, allocations: 87.73 kB / 296.4 MB, free: 7.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002406/0.000241, allocations: 4 kB / 356.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2017, allocations: 51.3 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.003223/0.205, allocations: 4.467 MB / 412 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.2065, allocations: 1.575 MB / 413.6 MB, free: 21.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.2067, allocations: 19.94 kB / 413.6 MB, free: 21.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.2071, allocations: 191 kB / 413.8 MB, free: 21.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004198/0.2075, allocations: 270.3 kB / 414 MB, free: 21.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000787/0.2083, allocations: 0.5183 MB / 414.5 MB, free: 20.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.2088, allocations: 0.7542 MB / 415.3 MB, free: 20.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.2105, allocations: 1.352 MB / 416.6 MB, free: 18.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.2107, allocations: 290.8 kB / 416.9 MB, free: 18.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.211, allocations: 390.3 kB / 417.3 MB, free: 17.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.125e-05/0.211, allocations: 36 kB / 417.3 MB, free: 17.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.2114, allocations: 215.8 kB / 417.6 MB, free: 17.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.2114, allocations: 127.4 kB / 417.7 MB, free: 17.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.946e-05/0.2115, allocations: 169.3 kB / 417.8 MB, free: 17.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.212, allocations: 0.9084 MB / 418.8 MB, free: 16.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2121, allocations: 0 / 418.8 MB, free: 16.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.2121, allocations: 0 / 418.8 MB, free: 16.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.2121, allocations: 0 / 418.8 MB, free: 16.52 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002929/0.215, allocations: 1.295 MB / 420.1 MB, free: 15.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.215, allocations: 16.02 kB / 420.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.2164, allocations: 250.8 kB / 420.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.2166, allocations: 261.9 kB / 420.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.2166, allocations: 74 kB / 420.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-05/0.2167, allocations: 103.9 kB / 420.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.2179, allocations: 0.9266 MB / 421.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.2179, allocations: 3.984 kB / 421.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-05/0.218, allocations: 40 kB / 421.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.218, allocations: 24 kB / 421.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009825/0.219, allocations: 0.7769 MB / 422.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003688/0.2227, allocations: 3.638 MB / 426.2 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.2241, allocations: 1.249 MB / 427.4 MB, free: 7.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/0.2245, allocations: 370 kB / 427.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.856e-05/0.2246, allocations: 187.2 kB / 427.9 MB, free: 6.848 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.2246, allocations: 47.56 kB / 428 MB, free: 6.793 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 1.894e-06/0.2246, allocations: 3.938 kB / 428 MB, free: 6.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=87): time 0.001608/0.2263, allocations: 1.3 MB / 429.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.2263, allocations: 86.11 kB / 429.4 MB, free: 5.293 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.2266, allocations: 368.2 kB / 429.7 MB, free: 4.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.2266, allocations: 37.7 kB / 429.8 MB, free: 4.887 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.2267, allocations: 382.9 kB / 430.1 MB, free: 4.504 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.2268, allocations: 299.7 kB / 430.4 MB, free: 4.207 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.2269, allocations: 20 kB / 430.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.916e-05/0.227, allocations: 362.7 kB / 430.8 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.2273, allocations: 262.5 kB / 431.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.2277, allocations: 471.4 kB / 431.5 MB, free: 3.031 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.2281, allocations: 334.9 kB / 431.9 MB, free: 2.703 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2281, allocations: 4 kB / 431.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001178/0.2293, allocations: 0.9729 MB / 432.8 MB, free: 1.711 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.2294, allocations: 8 kB / 432.8 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2294, allocations: 4 kB / 432.8 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000302/0.2297, allocations: 115.4 kB / 433 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/0.2303, allocations: 211.7 kB / 433.2 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003331/0.2337, allocations: 5.559 MB / 438.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/0.2342, allocations: 102.9 kB / 438.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.2343, allocations: 36 kB / 438.9 MB, free: 11.13 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002777/0.2346, allocations: 229.6 kB / 439.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.303e-05/0.2347, allocations: 47.44 kB / 439.1 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.236, allocations: 0.8559 MB / 440 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.236, allocations: 8 kB / 440 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.236, allocations: 0 / 440 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.2361, allocations: 11.97 kB / 440 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002686/0.2387, allocations: 2.086 MB / 442.1 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.2388, allocations: 4 kB / 442.1 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005388/0.2393, allocations: 131.8 kB / 442.2 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002582/0.2396, allocations: 107.6 kB / 442.3 MB, free: 7.441 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/0.2396, allocations: 20 kB / 442.4 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003391/0.243, allocations: 5.299 MB / 447.6 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.243, allocations: 8 kB / 447.7 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.2447, allocations: 1.272 MB / 448.9 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.2449, allocations: 144.3 kB / 449.1 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.2449, allocations: 19.94 kB / 449.1 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.2453, allocations: 28.06 kB / 449.1 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-05/0.2454, allocations: 60.56 kB / 449.2 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.2454, allocations: 27.94 kB / 449.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002538/0.2457, allocations: 255.1 kB / 449.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2457, allocations: 0 / 449.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009016/0.2466, allocations: 267.4 kB / 449.7 MB, free: 15.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.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 (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002529/0.2469, allocations: 159 kB / 449.9 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.2484, allocations: 1.165 MB / 451 MB, free: 14.08 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2484, allocations: 4 kB / 451 MB, free: 14.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007985/0.2492, allocations: 0.7849 MB / 451.8 MB, free: 13.24 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.2497, allocations: 67.73 kB / 451.9 MB, free: 13.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.2521, allocations: 1.742 MB / 453.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.2526, allocations: 0.911 MB / 454.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.2528, allocations: 67.42 kB / 454.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2529, allocations: 0 / 454.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of Templates: time 0.0189/0.2718, allocations: 20.9 MB / 475.5 MB, free: 5.469 MB / 346.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches