Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.001683/0.001683, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 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.0021/0.0021, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 258.2 MB, free: 7.793 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+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.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2893, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004481/0.2938, allocations: 2.667 MB / 435 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.296, allocations: 1.133 MB / 436.1 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.2961, allocations: 8 kB / 436.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.2977, allocations: 0.5756 MB / 436.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.298, allocations: 139 kB / 436.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.2994, allocations: 0.6105 MB / 437.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004465/0.2998, allocations: 302.6 kB / 437.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004471/0.3003, allocations: 238.2 kB / 438 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.3005, allocations: 135.5 kB / 438.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.3007, allocations: 179.2 kB / 438.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.3008, allocations: 24 kB / 438.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.3012, allocations: 183.8 kB / 438.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.909e-05/0.3012, allocations: 59.77 kB / 438.6 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.3014, allocations: 123.4 kB / 438.7 MB, free: 384 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006563/0.302, allocations: 0.4979 MB / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.302, allocations: 0 / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.302, allocations: 0 / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.302, allocations: 0 / 439.2 MB, free: 15.88 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.001684/0.3037, allocations: 0.6573 MB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3037, allocations: 8.031 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008273/0.3046, allocations: 112.7 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.305, allocations: 214.7 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.305, allocations: 25.03 kB / 440.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.105e-05/0.3051, allocations: 32.38 kB / 440.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005942/0.3057, allocations: 348.9 kB / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3057, allocations: 0 / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.3057, allocations: 12 kB / 440.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3057, allocations: 8 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004353/0.3062, allocations: 242.5 kB / 440.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.3081, allocations: 1.031 MB / 441.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.3087, allocations: 240.6 kB / 442.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.3088, allocations: 92.81 kB / 442.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.309, allocations: 15.98 kB / 442.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.309, allocations: 38.5 kB / 442.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.363e-06/0.309, allocations: 0 / 442.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001264/0.3103, allocations: 408 kB / 442.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.3103, allocations: 55.41 kB / 442.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.3105, allocations: 169.8 kB / 442.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.3105, allocations: 37.64 kB / 442.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.3106, allocations: 180.3 kB / 443.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.3107, allocations: 87.31 kB / 443.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.489e-05/0.3108, allocations: 57.94 kB / 443.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.311, allocations: 326.8 kB / 443.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.3111, allocations: 64.55 kB / 443.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.3113, allocations: 137 kB / 443.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.3116, allocations: 224 kB / 443.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3116, allocations: 0 / 443.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005992/0.3122, allocations: 328.5 kB / 444.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3122, allocations: 11.94 kB / 444.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3122, allocations: 0 / 444.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003357/0.3126, allocations: 76.8 kB / 444.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.3127, allocations: 43.92 kB / 444.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.3149, allocations: 1.888 MB / 446.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.3151, allocations: 27.84 kB / 446.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.3151, allocations: 12 kB / 446.3 MB, free: 8.375 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.0001815/0.3153, allocations: 149.7 kB / 446.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.3153, allocations: 15.91 kB / 446.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006032/0.3159, allocations: 291.3 kB / 446.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3159, allocations: 0 / 446.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.316, allocations: 4 kB / 446.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.316, allocations: 4.266 kB / 446.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009715/0.3169, allocations: 0.5797 MB / 447.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3169, allocations: 4 kB / 447.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.3171, allocations: 27.92 kB / 447.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002516/0.3173, allocations: 76.73 kB / 447.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.3173, allocations: 8 kB / 447.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.3194, allocations: 1.88 MB / 449.3 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3194, allocations: 0 / 449.3 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006942/0.3201, allocations: 440.6 kB / 449.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-05/0.3202, allocations: 39.73 kB / 449.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.3202, allocations: 8.125 kB / 449.8 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.3203, allocations: 8 kB / 449.8 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.3203, allocations: 19.95 kB / 449.8 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.3204, allocations: 11.94 kB / 449.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.3205, allocations: 117.5 kB / 450 MB, free: 4.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3205, allocations: 288 / 450 MB, free: 4.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000512/0.321, allocations: 95.78 kB / 450.1 MB, free: 4.445 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.0002425/0.3212, allocations: 127.2 kB / 450.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006433/0.3219, allocations: 338.2 kB / 450.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3219, allocations: 0 / 450.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003609/0.3222, allocations: 254.9 kB / 450.8 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.3225, allocations: 16 kB / 450.8 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.3237, allocations: 0.5924 MB / 451.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.3238, allocations: 150.4 kB / 451.5 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.685e-05/0.3239, allocations: 19.42 kB / 451.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3239, allocations: 0 / 451.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of Templates: time 0.007084/0.331, allocations: 4.179 MB / 455.7 MB, free: 14.7 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.365999759989791]