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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 82.34 kB / 21.43 MB, free: 296 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 164.1 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/2.972e-05, allocations: 2.281 kB / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.008275/0.008305, allocations: 4.647 MB / 303.6 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003418/0.01172, allocations: 1.639 MB / 305.3 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000717/0.01244, allocations: 16 kB / 305.3 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004353/0.01679, allocations: 1.392 MB / 306.7 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.01809, allocations: 325.4 kB / 307 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.01971, allocations: 0.6034 MB / 307.6 MB, free: 44 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001619/0.02133, allocations: 0.8592 MB / 308.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.02272, allocations: 0.6675 MB / 309.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.0239, allocations: 0.5106 MB / 309.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008768/0.02477, allocations: 351 kB / 310 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002623/0.02504, allocations: 72 kB / 310 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009293/0.02596, allocations: 247.5 kB / 310.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.02623, allocations: 179.3 kB / 310.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006068/0.02684, allocations: 287.3 kB / 310.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.02905, allocations: 1.211 MB / 311.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.02905, allocations: 15.88 kB / 312 MB, free: 11.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.02906, allocations: 0 / 312 MB, free: 11.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.271e-05/0.0291, allocations: 7.922 kB / 312 MB, free: 11.64 MB / 302.1 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.004842/0.03394, allocations: 1.374 MB / 313.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.03399, allocations: 15.98 kB / 313.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.0358, allocations: 256.2 kB / 313.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.03609, allocations: 196.8 kB / 313.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.678e-05/0.03618, allocations: 74.38 kB / 313.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.03638, allocations: 100.4 kB / 314 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.03827, allocations: 0.931 MB / 314.9 MB, free: 8.633 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.384e-05/0.03832, allocations: 16.12 kB / 314.9 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.924e-05/0.0384, allocations: 36.38 kB / 314.9 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.03843, allocations: 27.94 kB / 315 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.03994, allocations: 0.7769 MB / 315.8 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005374/0.04532, allocations: 2.685 MB / 318.4 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.04728, allocations: 0.8782 MB / 319.3 MB, free: 4.102 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005676/0.04785, allocations: 321.1 kB / 319.6 MB, free: 3.785 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.324e-05/0.04794, allocations: 28.98 kB / 319.7 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.04798, allocations: 43.55 kB / 319.7 MB, free: 3.703 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.675e-06/0.04798, allocations: 0 / 319.7 MB, free: 3.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002249/0.05023, allocations: 0.9954 MB / 320.7 MB, free: 2.691 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.0503, allocations: 86.11 kB / 320.8 MB, free: 2.586 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004167/0.05072, allocations: 335.9 kB / 321.1 MB, free: 2.246 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.863e-05/0.05078, allocations: 37.7 kB / 321.1 MB, free: 2.203 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/0.05108, allocations: 400.1 kB / 321.5 MB, free: 1.805 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/0.05136, allocations: 309.3 kB / 321.8 MB, free: 1.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/0.05165, allocations: 170.9 kB / 322 MB, free: 1.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.05185, allocations: 358.8 kB / 322.4 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/0.05238, allocations: 266.6 kB / 322.6 MB, free: 0.707 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007223/0.0531, allocations: 483.3 kB / 323.1 MB, free: 160 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.151/0.2041, allocations: 0.7606 MB / 323.8 MB, free: 33.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-05/0.2041, allocations: 3.375 kB / 323.9 MB, free: 33.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001959/0.2061, allocations: 0.9687 MB / 324.8 MB, free: 33.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.2061, allocations: 7.312 kB / 324.8 MB, free: 33.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.2061, allocations: 6.281 kB / 324.8 MB, free: 33.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004888/0.2066, allocations: 132 kB / 325 MB, free: 33.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008629/0.2075, allocations: 205.3 kB / 325.2 MB, free: 33.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003248/0.2107, allocations: 5.592 MB / 330.8 MB, free: 27.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006597/0.2114, allocations: 104.2 kB / 330.9 MB, free: 27.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-05/0.2115, allocations: 40.69 kB / 330.9 MB, free: 27.69 MB / 302.1 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.0003571/0.2118, allocations: 229.5 kB / 331.1 MB, free: 27.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.212, allocations: 55.73 kB / 331.2 MB, free: 27.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.2135, allocations: 0.8366 MB / 332 MB, free: 27.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.2135, allocations: 13.09 kB / 332 MB, free: 27.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.2135, allocations: 2.75 kB / 332 MB, free: 27.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.2135, allocations: 4.219 kB / 332 MB, free: 27.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/0.2162, allocations: 1.543 MB / 333.6 MB, free: 26.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.2162, allocations: 5.5 kB / 333.6 MB, free: 26.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006037/0.2168, allocations: 143.9 kB / 333.7 MB, free: 26.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003074/0.2171, allocations: 107.8 kB / 333.8 MB, free: 26.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.756e-05/0.2172, allocations: 21.91 kB / 333.8 MB, free: 26.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002582/0.2197, allocations: 5.18 MB / 339 MB, free: 21.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.2197, allocations: 7.562 kB / 339 MB, free: 21.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.2215, allocations: 1.271 MB / 340.3 MB, free: 20.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.2217, allocations: 70 kB / 340.4 MB, free: 20.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.422e-05/0.2218, allocations: 20.98 kB / 340.4 MB, free: 20.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/0.2222, allocations: 21.86 kB / 340.4 MB, free: 20.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.2224, allocations: 66.41 kB / 340.5 MB, free: 20.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/0.2224, allocations: 28.16 kB / 340.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002547/0.2227, allocations: 218.6 kB / 340.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2227, allocations: 3.938 kB / 340.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001067/0.2237, allocations: 268.5 kB / 341 MB, free: 20.04 MB / 302.1 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.0003/0.224, allocations: 156 kB / 341.1 MB, free: 19.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.2257, allocations: 1.122 MB / 342.3 MB, free: 19.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.2257, allocations: 0 / 342.3 MB, free: 19.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007977/0.2265, allocations: 0.7614 MB / 343 MB, free: 18.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/0.2272, allocations: 53.34 kB / 343.1 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.2301, allocations: 1.376 MB / 344.5 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.2305, allocations: 316.6 kB / 344.8 MB, free: 17.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004578/0.231, allocations: 107.9 kB / 344.9 MB, free: 17.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.2312, allocations: 47.44 kB / 344.9 MB, free: 17.71 MB / 302.1 MB Notification: Performance of SimCode: time 1.083e-06/0.2312, allocations: 0 / 344.9 MB, free: 17.71 MB / 302.1 MB Notification: Performance of Templates: time 0.01456/0.2457, allocations: 6.719 MB / 351.6 MB, free: 15.29 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.733385983854532]