Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.901e-05, allocations: 6.25 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007372/0.007401, allocations: 4.689 MB / 272 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003401/0.0108, allocations: 1.611 MB / 273.6 MB, free: 376 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003709/0.01117, allocations: 16 kB / 273.7 MB, free: 360 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003972/0.01514, allocations: 1.384 MB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.01667, allocations: 329.4 kB / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.01942, allocations: 0.7551 MB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001942/0.02136, allocations: 0.8516 MB / 277 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001705/0.02306, allocations: 0.6674 MB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.0241, allocations: 0.5183 MB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007674/0.02487, allocations: 355 kB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.02503, allocations: 72 kB / 278.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008312/0.02586, allocations: 247.6 kB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.0261, allocations: 179.3 kB / 279 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005091/0.02661, allocations: 287.3 kB / 279.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002432/0.02904, allocations: 1.222 MB / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.02904, allocations: 0 / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.02905, allocations: 0 / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.02906, allocations: 0 / 280.5 MB, free: 9.473 MB / 266.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.00627/0.03533, allocations: 1.374 MB / 281.9 MB, free: 8.066 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.03538, allocations: 12.92 kB / 281.9 MB, free: 8.055 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003149/0.03853, allocations: 431.6 kB / 282.3 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.03894, allocations: 208.6 kB / 282.5 MB, free: 7.402 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.03907, allocations: 78.38 kB / 282.6 MB, free: 7.324 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002731/0.03934, allocations: 100.4 kB / 282.7 MB, free: 7.227 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/0.04234, allocations: 0.9424 MB / 283.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.274e-05/0.0424, allocations: 8.141 kB / 283.6 MB, free: 6.266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.04254, allocations: 36.38 kB / 283.7 MB, free: 6.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.993e-05/0.0426, allocations: 27.94 kB / 283.7 MB, free: 6.203 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003022/0.04562, allocations: 0.7731 MB / 284.5 MB, free: 5.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009873/0.0555, allocations: 2.713 MB / 287.2 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003796/0.05929, allocations: 0.8704 MB / 288 MB, free: 1.719 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.06038, allocations: 329 kB / 288.4 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.06054, allocations: 28.98 kB / 288.4 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.262e-05/0.0606, allocations: 39.56 kB / 288.4 MB, free: 1.316 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 4.498e-06/0.06061, allocations: 0 / 288.4 MB, free: 1.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.004308/0.06491, allocations: 1.023 MB / 289.5 MB, free: 288 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.06503, allocations: 90.11 kB / 289.5 MB, free: 176 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1187/0.1838, allocations: 336.5 kB / 289.9 MB, free: 32.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.1839, allocations: 39.77 kB / 289.9 MB, free: 32.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.1841, allocations: 398 kB / 290.3 MB, free: 32.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.1843, allocations: 307.3 kB / 290.6 MB, free: 32.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002786/0.1846, allocations: 174.4 kB / 290.8 MB, free: 32.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.1847, allocations: 358.3 kB / 291.1 MB, free: 31.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004533/0.1851, allocations: 267.9 kB / 291.4 MB, free: 31.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005531/0.1857, allocations: 475.6 kB / 291.8 MB, free: 31.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000954/0.1866, allocations: 0.7672 MB / 292.6 MB, free: 31.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.1866, allocations: 2.125 kB / 292.6 MB, free: 31.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001709/0.1883, allocations: 1.013 MB / 293.6 MB, free: 30.63 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1884, allocations: 11.12 kB / 293.6 MB, free: 30.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.1884, allocations: 5.5 kB / 293.6 MB, free: 30.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007838/0.1892, allocations: 162.7 kB / 293.8 MB, free: 30.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008001/0.19, allocations: 203.8 kB / 294 MB, free: 30.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002927/0.1929, allocations: 5.622 MB / 299.6 MB, free: 25.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005979/0.1935, allocations: 99.06 kB / 299.7 MB, free: 25.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.639e-05/0.1936, allocations: 39.53 kB / 299.8 MB, free: 25.09 MB / 266.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.0002778/0.1938, allocations: 232 kB / 300 MB, free: 24.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.194, allocations: 79.95 kB / 300.1 MB, free: 24.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.1954, allocations: 0.8425 MB / 300.9 MB, free: 24.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.1954, allocations: 12.34 kB / 300.9 MB, free: 24.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1954, allocations: 2.969 kB / 300.9 MB, free: 24.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.1954, allocations: 8.594 kB / 300.9 MB, free: 24.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/0.1979, allocations: 1.545 MB / 302.5 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.1979, allocations: 2.781 kB / 302.5 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005988/0.1985, allocations: 138.7 kB / 302.6 MB, free: 23.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00063/0.1992, allocations: 137.9 kB / 302.7 MB, free: 23.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.084e-05/0.1992, allocations: 20.77 kB / 302.8 MB, free: 23.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/0.2017, allocations: 5.204 MB / 308 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.2017, allocations: 2.344 kB / 308 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.2034, allocations: 1.294 MB / 309.3 MB, free: 17.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.2036, allocations: 65.27 kB / 309.3 MB, free: 17.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.782e-05/0.2036, allocations: 23.14 kB / 309.4 MB, free: 17.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004167/0.2041, allocations: 18.78 kB / 309.4 MB, free: 17.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.2042, allocations: 72.59 kB / 309.4 MB, free: 17.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/0.2043, allocations: 23.95 kB / 309.5 MB, free: 17.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002203/0.2045, allocations: 217.8 kB / 309.7 MB, free: 17.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2045, allocations: 4.719 kB / 309.7 MB, free: 17.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001006/0.2055, allocations: 267.9 kB / 309.9 MB, free: 17.36 MB / 266.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.0002628/0.2057, allocations: 152.1 kB / 310.1 MB, free: 17.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.2074, allocations: 1.138 MB / 311.2 MB, free: 16.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2074, allocations: 0 / 311.2 MB, free: 16.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007304/0.2081, allocations: 0.7628 MB / 312 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.2087, allocations: 59.78 kB / 312.1 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.2112, allocations: 1.39 MB / 313.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.2115, allocations: 315.1 kB / 313.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004187/0.2119, allocations: 108.4 kB / 313.9 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.2121, allocations: 45.56 kB / 313.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2121, allocations: 0 / 313.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of Templates: time 0.01197/0.2241, allocations: 6.812 MB / 320.7 MB, free: 9.293 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6450717489933595]