Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.135/1.135, allocations: 205.1 MB / 223.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009303/0.0009304, allocations: 102.2 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007317/0.0007318, allocations: 40.08 kB / 327.2 MB, free: 308 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1771, allocations: 46.62 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004855/0.182, allocations: 5.19 MB / 379 MB, free: 41.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.1844, allocations: 1.715 MB / 380.7 MB, free: 40.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004658/0.1849, allocations: 16.09 kB / 380.8 MB, free: 40.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002368/0.1873, allocations: 1.331 MB / 382.1 MB, free: 39.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00072/0.1881, allocations: 263.6 kB / 382.3 MB, free: 39.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.1893, allocations: 0.7805 MB / 383.1 MB, free: 38.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008134/0.1901, allocations: 0.7896 MB / 383.9 MB, free: 38.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009074/0.191, allocations: 0.714 MB / 384.6 MB, free: 37.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000366/0.1914, allocations: 330.2 kB / 385 MB, free: 37.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003561/0.1918, allocations: 454.8 kB / 385.4 MB, free: 37.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.238e-05/0.1919, allocations: 56.88 kB / 385.5 MB, free: 37.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.1923, allocations: 242.8 kB / 385.7 MB, free: 37.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.1924, allocations: 159.4 kB / 385.8 MB, free: 36.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.1927, allocations: 405.9 kB / 386.2 MB, free: 36.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008118/0.1935, allocations: 1.16 MB / 387.4 MB, free: 35.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1935, allocations: 0 / 387.4 MB, free: 35.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1935, allocations: 4 kB / 387.4 MB, free: 35.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1936, allocations: 0 / 387.4 MB, free: 35.82 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.003072/0.1966, allocations: 1.447 MB / 388.9 MB, free: 34.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.1967, allocations: 11.97 kB / 388.9 MB, free: 34.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.198, allocations: 255.7 kB / 389.1 MB, free: 34.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.1982, allocations: 260.7 kB / 389.4 MB, free: 33.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.1982, allocations: 74.38 kB / 389.4 MB, free: 33.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.97e-05/0.1983, allocations: 100.3 kB / 389.5 MB, free: 33.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.1994, allocations: 0.9461 MB / 390.5 MB, free: 32.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.1994, allocations: 4 kB / 390.5 MB, free: 32.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.054e-05/0.1995, allocations: 44 kB / 390.5 MB, free: 32.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.1995, allocations: 24 kB / 390.6 MB, free: 32.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009567/0.2005, allocations: 0.777 MB / 391.3 MB, free: 31.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00352/0.204, allocations: 3.381 MB / 394.7 MB, free: 28.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.2054, allocations: 1.253 MB / 396 MB, free: 26.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/0.2058, allocations: 365.2 kB / 396.3 MB, free: 26.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.974e-05/0.2059, allocations: 106.1 kB / 396.4 MB, free: 26.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.2059, allocations: 47.5 kB / 396.5 MB, free: 26.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 1.793e-06/0.2059, allocations: 0 / 396.5 MB, free: 26.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=87): time 0.001586/0.2075, allocations: 1.304 MB / 397.8 MB, free: 25.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.2076, allocations: 90.05 kB / 397.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.2079, allocations: 360.4 kB / 398.2 MB, free: 24.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.2079, allocations: 45.73 kB / 398.3 MB, free: 24.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.208, allocations: 382.8 kB / 398.6 MB, free: 24.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.2081, allocations: 303.7 kB / 398.9 MB, free: 23.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.2083, allocations: 174.8 kB / 399.1 MB, free: 23.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.82e-05/0.2084, allocations: 358.8 kB / 399.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.2087, allocations: 266.5 kB / 399.7 MB, free: 23.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/0.2091, allocations: 471.4 kB / 400.2 MB, free: 22.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007331/0.2099, allocations: 0.7861 MB / 401 MB, free: 21.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2099, allocations: 0 / 401 MB, free: 21.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001153/0.211, allocations: 0.9728 MB / 401.9 MB, free: 20.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2111, allocations: 8 kB / 401.9 MB, free: 20.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2111, allocations: 4 kB / 401.9 MB, free: 20.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002926/0.2114, allocations: 127.5 kB / 402.1 MB, free: 20.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/0.212, allocations: 199.7 kB / 402.3 MB, free: 20.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.2143, allocations: 5.574 MB / 407.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.2147, allocations: 102.9 kB / 407.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.2148, allocations: 40 kB / 408 MB, free: 14.05 MB / 298.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001864/0.215, allocations: 241.5 kB / 408.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-05/0.2151, allocations: 55.34 kB / 408.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.2162, allocations: 0.8404 MB / 409.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2162, allocations: 8 kB / 409.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2162, allocations: 15.88 kB / 409.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2162, allocations: 3.984 kB / 409.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.2181, allocations: 1.928 MB / 411.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2181, allocations: 4 kB / 411.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.2186, allocations: 135.8 kB / 411.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000211/0.2188, allocations: 111.6 kB / 411.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.2189, allocations: 23.98 kB / 411.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.2209, allocations: 5.298 MB / 416.6 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2209, allocations: 7.984 kB / 416.6 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.2229, allocations: 2.586 MB / 419.2 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-05/0.223, allocations: 144.3 kB / 419.4 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.726e-05/0.2231, allocations: 20 kB / 419.4 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.2234, allocations: 20 kB / 419.4 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.523e-05/0.2235, allocations: 76.64 kB / 419.5 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.2235, allocations: 24 kB / 419.5 MB, free: 1.613 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001743/0.2237, allocations: 255.2 kB / 419.8 MB, free: 1.363 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2237, allocations: 0 / 419.8 MB, free: 1.363 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000744/0.2245, allocations: 288.4 kB / 420 MB, free: 1.082 MB / 298.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001647/0.2246, allocations: 151.1 kB / 420.2 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.2258, allocations: 1.169 MB / 421.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2258, allocations: 448 / 421.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007621/0.2266, allocations: 0.7991 MB / 422.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.227, allocations: 57.42 kB / 422.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.2295, allocations: 2.184 MB / 424.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.23, allocations: 0.942 MB / 425.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004968/0.2305, allocations: 105.1 kB / 425.4 MB, free: 11.47 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.2306, allocations: 55.42 kB / 425.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2306, allocations: 0 / 425.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of Templates: time 0.01079/0.2414, allocations: 7.117 MB / 432.6 MB, free: 4.312 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches