Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001863/0.001863, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001864, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002882/0.002882, allocations: 68.77 kB / 379 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.249, allocations: 53.37 MB / 432.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.005437/0.2545, allocations: 2.88 MB / 435.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002642/0.2571, allocations: 1.238 MB / 436.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.2574, allocations: 4 kB / 436.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.2591, allocations: 0.6212 MB / 437.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005302/0.2597, allocations: 147 kB / 437.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.2611, allocations: 0.6636 MB / 438 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000556/0.2616, allocations: 290.6 kB / 438.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004691/0.2621, allocations: 237.2 kB / 438.5 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.2624, allocations: 147.4 kB / 438.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.2627, allocations: 163.4 kB / 438.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.053e-05/0.2627, allocations: 28 kB / 438.8 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004325/0.2632, allocations: 179.9 kB / 439 MB, free: 400 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.005e-05/0.2632, allocations: 67.7 kB / 439.1 MB, free: 332 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.2634, allocations: 147.3 kB / 439.2 MB, free: 184 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007794/0.2642, allocations: 0.5018 MB / 439.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2642, allocations: 3.938 kB / 439.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2642, allocations: 0 / 439.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.2642, allocations: 0 / 439.7 MB, free: 15.68 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001802/0.266, allocations: 0.6534 MB / 440.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2661, allocations: 8.031 kB / 440.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008379/0.2669, allocations: 120.7 kB / 440.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.2673, allocations: 206.7 kB / 440.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.2674, allocations: 28.97 kB / 440.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.625e-05/0.2674, allocations: 36.31 kB / 440.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005738/0.268, allocations: 333 kB / 441.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.268, allocations: 11.98 kB / 441.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.2681, allocations: 12 kB / 441.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.2681, allocations: 8 kB / 441.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.2685, allocations: 242.5 kB / 441.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.2706, allocations: 1.364 MB / 442.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.2712, allocations: 237 kB / 442.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.2713, allocations: 92.81 kB / 443 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.2714, allocations: 31.89 kB / 443.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.2715, allocations: 30.56 kB / 443.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.2715, allocations: 0 / 443.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001276/0.2728, allocations: 418.2 kB / 443.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.2728, allocations: 59.41 kB / 443.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.273, allocations: 167.3 kB / 443.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.273, allocations: 29.7 kB / 443.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.2732, allocations: 180.4 kB / 443.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.464e-05/0.2733, allocations: 95.2 kB / 444 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-05/0.2733, allocations: 49.98 kB / 444.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2735, allocations: 330.8 kB / 444.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.2736, allocations: 68.55 kB / 444.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.2738, allocations: 129 kB / 444.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.2742, allocations: 220 kB / 444.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2742, allocations: 4 kB / 444.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006173/0.2748, allocations: 332.5 kB / 445.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2748, allocations: 4 kB / 445.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2748, allocations: 4 kB / 445.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003298/0.2751, allocations: 81.02 kB / 445.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.2753, allocations: 39.92 kB / 445.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.2775, allocations: 1.938 MB / 447.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.2777, allocations: 27.72 kB / 447.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.2777, allocations: 11.94 kB / 447.2 MB, free: 7.703 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.2779, allocations: 149.9 kB / 447.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.2779, allocations: 23.8 kB / 447.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000597/0.2785, allocations: 287.8 kB / 447.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2785, allocations: 4 kB / 447.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2785, allocations: 0 / 447.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.2785, allocations: 4 kB / 447.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.2795, allocations: 0.6544 MB / 448.3 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2795, allocations: 0 / 448.3 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.2797, allocations: 27.92 kB / 448.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002452/0.2799, allocations: 72.81 kB / 448.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.2799, allocations: 7.984 kB / 448.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.2821, allocations: 1.922 MB / 450.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2821, allocations: 0 / 450.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007018/0.2828, allocations: 456.4 kB / 450.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/0.2828, allocations: 39.84 kB / 450.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.2829, allocations: 8 kB / 450.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.283, allocations: 0 / 450.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.283, allocations: 23.97 kB / 450.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.283, allocations: 8.062 kB / 450.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.2831, allocations: 127.2 kB / 451 MB, free: 3.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2831, allocations: 0 / 451 MB, free: 3.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004907/0.2836, allocations: 99.78 kB / 451.1 MB, free: 3.609 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002166/0.2839, allocations: 123.2 kB / 451.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006638/0.2845, allocations: 341.2 kB / 451.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2845, allocations: 0 / 451.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.2849, allocations: 246.8 kB / 451.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.2852, allocations: 16 kB / 451.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.2863, allocations: 0.5663 MB / 452.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.2867, allocations: 0.7599 MB / 453.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.042e-05/0.2868, allocations: 21.94 kB / 453.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.2868, allocations: 23.72 kB / 453.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2868, allocations: 0 / 453.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of Templates: time 0.007319/0.2941, allocations: 2.918 MB / 456.1 MB, free: 14.54 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.637807823717594]