Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 106.5 kB / 20.32 MB, free: 1.996 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 192.5 kB / 23.47 MB, free: 5.297 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 207.6 MB / 234.1 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] 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.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.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 54.73 kB / 345.8 MB, free: 10.7 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2947, allocations: 49.13 MB / 394.9 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003703/0.2984, allocations: 2.72 MB / 397.7 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.3002, allocations: 1.2 MB / 398.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.3003, allocations: 6.625 kB / 398.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.3018, allocations: 0.6255 MB / 399.5 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.3021, allocations: 131.7 kB / 399.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.3033, allocations: 0.6807 MB / 400.3 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004085/0.3037, allocations: 294.2 kB / 400.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003957/0.3041, allocations: 217.2 kB / 400.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.3043, allocations: 130.5 kB / 400.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.3045, allocations: 168.7 kB / 401.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/0.3046, allocations: 24.97 kB / 401.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/0.3049, allocations: 176.2 kB / 401.3 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/0.305, allocations: 65.97 kB / 401.3 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.3051, allocations: 145.8 kB / 401.5 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000639/0.3057, allocations: 0.4909 MB / 402 MB, free: 4.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3057, allocations: 9.438 kB / 402 MB, free: 4.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3057, allocations: 0 / 402 MB, free: 4.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.3058, allocations: 0 / 402 MB, free: 4.938 MB / 318.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.001597/0.3074, allocations: 0.7283 MB / 402.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3074, allocations: 9.75 kB / 402.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008337/0.3082, allocations: 119.6 kB / 402.8 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.3086, allocations: 268.5 kB / 403.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.3086, allocations: 21.66 kB / 403.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.3087, allocations: 34.62 kB / 403.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/0.3092, allocations: 331.3 kB / 403.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3092, allocations: 1.219 kB / 403.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.3092, allocations: 16.22 kB / 403.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.3093, allocations: 7.188 kB / 403.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003913/0.3097, allocations: 242.6 kB / 403.7 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.3114, allocations: 1.442 MB / 405.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.3119, allocations: 0.6818 MB / 405.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.312, allocations: 93.81 kB / 406 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.179e-05/0.3121, allocations: 88.38 kB / 406 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.3121, allocations: 41.22 kB / 406.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.462e-06/0.3121, allocations: 0 / 406.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001188/0.3133, allocations: 492.1 kB / 406.6 MB, free: 1.582 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.3134, allocations: 59.03 kB / 406.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.3135, allocations: 173.1 kB / 406.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3135, allocations: 30.86 kB / 406.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.3136, allocations: 179.3 kB / 407 MB, free: 1.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.855e-05/0.3137, allocations: 88.64 kB / 407.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.004e-05/0.3137, allocations: 52.77 kB / 407.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.427e-05/0.3138, allocations: 324 kB / 407.5 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.3139, allocations: 74.5 kB / 407.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.3141, allocations: 128.4 kB / 407.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.3143, allocations: 212.2 kB / 407.9 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3143, allocations: 0 / 407.9 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005102/0.3148, allocations: 336.9 kB / 408.2 MB, free: 348 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3149, allocations: 10.58 kB / 408.2 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3149, allocations: 2.719 kB / 408.2 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003147/0.3152, allocations: 79.11 kB / 408.3 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.3153, allocations: 42.14 kB / 408.3 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.3175, allocations: 2.032 MB / 410.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.3176, allocations: 24.66 kB / 410.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.3177, allocations: 20.17 kB / 410.4 MB, free: 14.46 MB / 334.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.0001764/0.3178, allocations: 148.2 kB / 410.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.3179, allocations: 19.47 kB / 410.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005684/0.3185, allocations: 282.7 kB / 410.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3185, allocations: 3.75 kB / 410.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.3185, allocations: 6.625 kB / 410.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.3185, allocations: 0.9375 kB / 410.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.3196, allocations: 0.6851 MB / 411.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3196, allocations: 0 / 411.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.3197, allocations: 31.28 kB / 411.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/0.3199, allocations: 73.19 kB / 411.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.32, allocations: 5.188 kB / 411.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002196/0.3221, allocations: 2.036 MB / 413.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3221, allocations: 0 / 413.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007161/0.3229, allocations: 449.8 kB / 414.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.323, allocations: 114.5 kB / 414.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.323, allocations: 6.156 kB / 414.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.3231, allocations: 6.578 kB / 414.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.3232, allocations: 18.94 kB / 414.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3232, allocations: 9.062 kB / 414.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.3233, allocations: 125.1 kB / 414.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3233, allocations: 1.312 kB / 414.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005441/0.3239, allocations: 94.03 kB / 414.5 MB, free: 11.29 MB / 334.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.0002437/0.3241, allocations: 115.9 kB / 414.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006876/0.3248, allocations: 348.3 kB / 414.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3248, allocations: 4.125 kB / 414.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.3252, allocations: 238.2 kB / 415.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.3255, allocations: 22.3 kB / 415.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.3266, allocations: 0.5833 MB / 415.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.3271, allocations: 0.7554 MB / 416.5 MB, free: 9.723 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.3271, allocations: 22.31 kB / 416.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3271, allocations: 0 / 416.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of Templates: time 0.007009/0.3341, allocations: 3.968 MB / 420.5 MB, free: 7.594 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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