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.001334/0.001334, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001491/0.001491, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.467/1.467, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.002975/0.002975, allocations: 67.83 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2668, allocations: 53.32 MB / 432.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004355/0.2711, allocations: 2.874 MB / 434.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.2731, allocations: 1.23 MB / 436.2 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.2732, allocations: 8 kB / 436.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.2747, allocations: 0.6184 MB / 436.8 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.275, allocations: 143 kB / 436.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.2762, allocations: 0.6614 MB / 437.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.2767, allocations: 298.6 kB / 437.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004097/0.2771, allocations: 216.4 kB / 438.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.2773, allocations: 131.5 kB / 438.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.2775, allocations: 171.3 kB / 438.4 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.2776, allocations: 24 kB / 438.4 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003404/0.2779, allocations: 179.9 kB / 438.6 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.278, allocations: 63.77 kB / 438.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.2781, allocations: 151.2 kB / 438.8 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006325/0.2788, allocations: 0.4943 MB / 439.3 MB, free: 148 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2788, allocations: 0 / 439.3 MB, free: 148 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2788, allocations: 0 / 439.3 MB, free: 148 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.2788, allocations: 4 kB / 439.3 MB, free: 144 kB / 334.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.001682/0.2805, allocations: 0.7327 MB / 440 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.2805, allocations: 12.03 kB / 440 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008275/0.2813, allocations: 116.7 kB / 440.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.2817, allocations: 264.6 kB / 440.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.2817, allocations: 21.03 kB / 440.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.806e-05/0.2818, allocations: 36.36 kB / 440.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/0.2823, allocations: 337 kB / 440.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.2823, allocations: 0 / 440.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.2823, allocations: 12 kB / 440.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2824, allocations: 12 kB / 440.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004242/0.2828, allocations: 242.5 kB / 441 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.2849, allocations: 1.444 MB / 442.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007231/0.2856, allocations: 0.6835 MB / 443.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.2857, allocations: 88.83 kB / 443.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.2859, allocations: 174.1 kB / 443.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.286, allocations: 42.48 kB / 443.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.286, allocations: 0 / 443.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001226/0.2872, allocations: 498.9 kB / 444 MB, free: 11.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.2872, allocations: 51.41 kB / 444 MB, free: 10.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.2874, allocations: 175.3 kB / 444.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.2874, allocations: 37.62 kB / 444.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.2876, allocations: 176.4 kB / 444.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.265e-05/0.2876, allocations: 95.2 kB / 444.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.954e-05/0.2877, allocations: 49.98 kB / 444.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2879, allocations: 334.8 kB / 444.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.288, allocations: 68.47 kB / 444.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.2882, allocations: 133 kB / 445.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.2885, allocations: 224.9 kB / 445.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2885, allocations: 0 / 445.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006044/0.2891, allocations: 331.6 kB / 445.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2891, allocations: 8 kB / 445.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2891, allocations: 0 / 445.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/0.2894, allocations: 80.97 kB / 445.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.2896, allocations: 43.92 kB / 445.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/0.2917, allocations: 2.018 MB / 447.7 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.2919, allocations: 39.7 kB / 447.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.2919, allocations: 8 kB / 447.8 MB, free: 6.953 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.0001496/0.292, allocations: 145.8 kB / 447.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.2921, allocations: 23.8 kB / 448 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005818/0.2927, allocations: 276.2 kB / 448.2 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.2927, allocations: 4 kB / 448.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2927, allocations: 7.984 kB / 448.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2927, allocations: 4 kB / 448.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.2937, allocations: 0.6892 MB / 448.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2937, allocations: 0 / 448.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.2938, allocations: 27.98 kB / 449 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002263/0.2941, allocations: 72.81 kB / 449 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.2941, allocations: 4 kB / 449 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.2962, allocations: 2.027 MB / 451.1 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2962, allocations: 0 / 451.1 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006828/0.2969, allocations: 460.3 kB / 451.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.297, allocations: 113 kB / 451.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.297, allocations: 8 kB / 451.6 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.2971, allocations: 4 kB / 451.6 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.2972, allocations: 15.97 kB / 451.7 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.2972, allocations: 8 kB / 451.7 MB, free: 2.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.2973, allocations: 127.2 kB / 451.8 MB, free: 2.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2973, allocations: 4.062 kB / 451.8 MB, free: 2.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004821/0.2978, allocations: 95.78 kB / 451.9 MB, free: 2.605 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.0002199/0.298, allocations: 127 kB / 452 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006337/0.2986, allocations: 354.3 kB / 452.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2986, allocations: 0 / 452.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003454/0.299, allocations: 237.8 kB / 452.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.2993, allocations: 20.42 kB / 452.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.3004, allocations: 0.574 MB / 453.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.3008, allocations: 0.7599 MB / 453.9 MB, free: 468 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.641e-05/0.3009, allocations: 21.94 kB / 454 MB, free: 444 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.3009, allocations: 23.38 kB / 454 MB, free: 420 kB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3009, allocations: 0 / 454 MB, free: 420 kB / 350.1 MB Notification: Performance of Templates: time 0.007061/0.308, allocations: 2.846 MB / 456.8 MB, free: 13.58 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.465372405014932]