Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.0009318/0.0009318, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0009513/0.0009513, allocations: 159.4 kB / 25.45 MB, free: 9.352 MB / 18.57 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 0.9129/0.9129, allocations: 158.6 MB / 187.2 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] 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.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.997e-05/3.233e-05, allocations: 5.938 kB / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01089/0.01093, allocations: 14.24 MB / 314 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008563/0.01949, allocations: 4.529 MB / 318.5 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/0.0219, allocations: 135.3 kB / 318.6 MB, free: 3.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007075/0.02898, allocations: 7.089 MB / 325.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004582/0.03356, allocations: 1.915 MB / 327.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.03601, allocations: 1.609 MB / 329.2 MB, free: 9.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008049/0.04405, allocations: 9.813 MB / 339 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0137/0.05776, allocations: 13.5 MB / 352.5 MB, free: 1.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1795/0.2373, allocations: 7.737 MB / 360.3 MB, free: 24.51 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007466/0.2447, allocations: 5.26 MB / 365.5 MB, free: 24.51 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002619/0.2473, allocations: 1.364 MB / 366.9 MB, free: 24.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.2509, allocations: 1.641 MB / 368.5 MB, free: 24.51 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001806/0.2527, allocations: 2.848 MB / 371.4 MB, free: 24.51 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003892/0.2566, allocations: 3.602 MB / 375 MB, free: 23.72 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.2676, allocations: 18.48 MB / 393.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.2676, allocations: 0 / 393.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.797e-06/0.2676, allocations: 0 / 393.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005114/0.2681, allocations: 0 / 393.5 MB, free: 13.45 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.01887/0.287, allocations: 12.16 MB / 405.6 MB, free: 2.426 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.287, allocations: 11.98 kB / 405.7 MB, free: 2.414 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01602/0.3031, allocations: 6.286 MB / 411.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.3132, allocations: 5.246 MB / 417.2 MB, free: 7.152 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004196/0.3136, allocations: 0.6684 MB / 417.9 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002658/0.3162, allocations: 0.883 MB / 418.7 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02217/0.3384, allocations: 14.93 MB / 433.7 MB, free: 6.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000135/0.3385, allocations: 11.95 kB / 433.7 MB, free: 6.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006845/0.3392, allocations: 376.8 kB / 434 MB, free: 6.238 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003301/0.3396, allocations: 495.3 kB / 434.5 MB, free: 5.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01833/0.3579, allocations: 13.47 MB / 448 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05224/0.4101, allocations: 38.5 MB / 486.5 MB, free: 1.645 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00629/0.4164, allocations: 5.962 MB / 492.5 MB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002875/0.4193, allocations: 2.847 MB / 495.3 MB, free: 9.082 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/0.4195, allocations: 83.94 kB / 495.4 MB, free: 9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.4196, allocations: 78.56 kB / 495.5 MB, free: 8.914 MB / 426.7 MB Notification: Performance of pre-optimization done (n=409): time 6.603e-06/0.4196, allocations: 0 / 495.5 MB, free: 8.914 MB / 426.7 MB Notification: Performance of matching and sorting (n=409): time 0.01255/0.4321, allocations: 9.415 MB / 0.4931 GB, free: 15.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.66e-05/0.4322, allocations: 128.5 kB / 0.4932 GB, free: 15.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003813/0.436, allocations: 3.231 MB / 0.4963 GB, free: 12.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001939/0.4362, allocations: 89.7 kB / 0.4964 GB, free: 12.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001597/0.4378, allocations: 3.815 MB / 0.5001 GB, free: 8.223 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008912/0.4387, allocations: 1.444 MB / 0.5016 GB, free: 6.797 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/0.4399, allocations: 1.117 MB / 0.5026 GB, free: 5.668 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003089/0.4402, allocations: 301.1 kB / 0.5029 GB, free: 5.371 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00273/0.4429, allocations: 2.838 MB / 0.5057 GB, free: 2.527 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1729/0.6158, allocations: 4.897 MB / 0.5105 GB, free: 137.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007689/0.6235, allocations: 8.258 MB / 0.5185 GB, free: 133.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.66e-05/0.6235, allocations: 19.41 kB / 0.5186 GB, free: 133.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01078/0.6343, allocations: 9.078 MB / 0.5274 GB, free: 130.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.507e-05/0.6344, allocations: 39.33 kB / 0.5275 GB, free: 130.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.284e-05/0.6345, allocations: 69.94 kB / 0.5275 GB, free: 130.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00197/0.6364, allocations: 1.144 MB / 0.5287 GB, free: 130.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/0.6388, allocations: 1.291 MB / 0.5299 GB, free: 130 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008063/0.6468, allocations: 10.37 MB / 0.54 GB, free: 124.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/0.6493, allocations: 0.7504 MB / 0.5408 GB, free: 124.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002851/0.6496, allocations: 273.6 kB / 0.541 GB, free: 124 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003916/0.6535, allocations: 3.423 MB / 0.5444 GB, free: 122.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004237/0.6539, allocations: 364.8 kB / 0.5447 GB, free: 122.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006178/0.6601, allocations: 6.876 MB / 0.5514 GB, free: 118.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004663/0.6648, allocations: 5.704 MB / 0.557 GB, free: 113.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.567e-05/0.6648, allocations: 12 kB / 0.557 GB, free: 113.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/0.6648, allocations: 28.92 kB / 0.5571 GB, free: 113.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/0.677, allocations: 13.42 MB / 0.5702 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.6771, allocations: 15.53 kB / 0.5702 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/0.6784, allocations: 0.7879 MB / 0.5709 GB, free: 100.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001551/0.68, allocations: 1.068 MB / 0.572 GB, free: 99.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/0.6801, allocations: 108 kB / 0.5721 GB, free: 99.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007035/0.6872, allocations: 10.14 MB / 0.582 GB, free: 89.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.6872, allocations: 15.94 kB / 0.582 GB, free: 89.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007827/0.695, allocations: 10.64 MB / 0.5924 GB, free: 78.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/0.6962, allocations: 0.9493 MB / 0.5933 GB, free: 77.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000258/0.6965, allocations: 95.98 kB / 0.5934 GB, free: 77.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.6975, allocations: 279.8 kB / 0.5937 GB, free: 76.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003543/0.6979, allocations: 359 kB / 0.594 GB, free: 76.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/0.698, allocations: 143.8 kB / 0.5942 GB, free: 76.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00174/0.6998, allocations: 2.091 MB / 0.5962 GB, free: 74.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6998, allocations: 0 / 0.5962 GB, free: 74.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004149/0.7039, allocations: 2.256 MB / 0.5984 GB, free: 71.97 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004303/0.7043, allocations: 286.8 kB / 0.5987 GB, free: 71.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006836/0.7112, allocations: 7.148 MB / 0.6057 GB, free: 64.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.7112, allocations: 7.75 kB / 0.6057 GB, free: 64.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002936/0.7141, allocations: 3.396 MB / 0.609 GB, free: 61.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.7165, allocations: 0.7834 MB / 0.6098 GB, free: 60.33 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01957/0.7361, allocations: 16 MB / 0.6254 GB, free: 44.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003465/0.7395, allocations: 5.288 MB / 0.6305 GB, free: 38.78 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/0.741, allocations: 364.4 kB / 0.6309 GB, free: 38.42 MB / 442.7 MB Notification: Performance of SimCode: time 2.755e-06/0.741, allocations: 0 / 0.6309 GB, free: 38.42 MB / 442.7 MB Notification: Performance of Templates: time 0.3378/1.079, allocations: 197.7 MB / 0.824 GB, free: 31.73 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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: 12.080114828422666]