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.001155/0.001155, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001217/0.001217, allocations: 162.1 kB / 25.61 MB, free: 8.91 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.9683/0.9683, allocations: 158.6 MB / 187.5 MB, free: 2.797 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 1.623e-06/1.623e-06, allocations: 0 / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.759e-06/1.138e-05, allocations: 2.312 kB / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01084/0.01085, allocations: 15.42 MB / 266.9 MB, free: 7.738 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007446/0.0183, allocations: 4.607 MB / 271.5 MB, free: 3.117 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.01985, allocations: 135.3 kB / 271.6 MB, free: 2.984 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007186/0.02704, allocations: 7.459 MB / 279.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.03072, allocations: 1.915 MB / 281 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.03279, allocations: 1.609 MB / 282.6 MB, free: 7.953 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006656/0.03945, allocations: 9.803 MB / 292.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01371/0.05316, allocations: 13.52 MB / 306 MB, free: 448 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008082/0.06124, allocations: 7.809 MB / 313.8 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007115/0.06836, allocations: 5.977 MB / 319.7 MB, free: 2.629 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003717/0.07208, allocations: 1.355 MB / 321.1 MB, free: 1.273 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/0.07521, allocations: 1.64 MB / 322.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001881/0.07709, allocations: 2.903 MB / 325.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004579/0.08167, allocations: 3.649 MB / 329.3 MB, free: 9.066 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009602/0.09127, allocations: 9.388 MB / 338.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.09127, allocations: 0 / 338.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09127, allocations: 0 / 338.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002613/0.09154, allocations: 0 / 338.7 MB, free: 15.65 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.01797/0.1095, allocations: 11.96 MB / 350.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.1096, allocations: 11.98 kB / 350.6 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1684/0.2779, allocations: 5.831 MB / 356.5 MB, free: 71.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007284/0.2852, allocations: 4.309 MB / 360.8 MB, free: 71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003845/0.2856, allocations: 0.6741 MB / 361.5 MB, free: 70.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001536/0.2871, allocations: 0.878 MB / 362.3 MB, free: 70.97 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/0.2983, allocations: 7.393 MB / 369.7 MB, free: 70.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001564/0.2985, allocations: 13.28 kB / 369.7 MB, free: 70.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000596/0.299, allocations: 372 kB / 370.1 MB, free: 70.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004576/0.2995, allocations: 498.6 kB / 370.6 MB, free: 70.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005309/0.3048, allocations: 3.382 MB / 374 MB, free: 69.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0316/0.3364, allocations: 34.62 MB / 408.6 MB, free: 37.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003414/0.3398, allocations: 3.532 MB / 412.1 MB, free: 34.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.3409, allocations: 1.167 MB / 413.3 MB, free: 33.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/0.3411, allocations: 139.9 kB / 413.4 MB, free: 33.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.3412, allocations: 81.39 kB / 413.5 MB, free: 33.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=409): time 6.382e-06/0.3412, allocations: 4 kB / 413.5 MB, free: 33.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=409): time 0.007534/0.3487, allocations: 4.821 MB / 418.3 MB, free: 28.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.3488, allocations: 124.8 kB / 418.4 MB, free: 28.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/0.3517, allocations: 3.036 MB / 421.5 MB, free: 25.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002098/0.3519, allocations: 85.7 kB / 421.6 MB, free: 25.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001844/0.3537, allocations: 4.089 MB / 425.7 MB, free: 21.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009395/0.3547, allocations: 1.508 MB / 427.2 MB, free: 20.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001479/0.3561, allocations: 1.297 MB / 428.5 MB, free: 19.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.822e-05/0.3562, allocations: 476.8 kB / 428.9 MB, free: 18.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.3574, allocations: 0.6865 MB / 429.6 MB, free: 17.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002517/0.3599, allocations: 3.809 MB / 433.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004136/0.3641, allocations: 5.065 MB / 438.5 MB, free: 6.988 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.112e-05/0.3641, allocations: 23.66 kB / 438.5 MB, free: 6.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.006921/0.371, allocations: 4.781 MB / 443.3 MB, free: 2.645 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/0.3711, allocations: 32 kB / 443.3 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.777e-05/0.3711, allocations: 68 kB / 443.4 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002376/0.3735, allocations: 1.021 MB / 444.4 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002853/0.3764, allocations: 1.167 MB / 445.6 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008786/0.3852, allocations: 7.573 MB / 453.2 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002801/0.388, allocations: 0.5971 MB / 453.8 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003943/0.3883, allocations: 232.1 kB / 454 MB, free: 8 MB / 346.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.002109/0.3905, allocations: 0.5346 MB / 454.5 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007011/0.3912, allocations: 497.1 kB / 455 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005909/0.3971, allocations: 3.53 MB / 458.5 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003988/0.4011, allocations: 2.454 MB / 461 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.467e-05/0.4011, allocations: 12 kB / 461 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.74e-05/0.4011, allocations: 19.92 kB / 461 MB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/0.4175, allocations: 10.81 MB / 471.8 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/0.4175, allocations: 12 kB / 471.8 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/0.4192, allocations: 0.6669 MB / 472.5 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/0.4211, allocations: 0.92 MB / 473.4 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002175/0.4213, allocations: 108 kB / 473.5 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006553/0.4278, allocations: 7.471 MB / 481 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/0.4278, allocations: 23.16 kB / 481 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006814/0.4347, allocations: 4.968 MB / 486 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/0.4366, allocations: 0.7626 MB / 486.8 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003255/0.4369, allocations: 100.1 kB / 486.9 MB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009717/0.4379, allocations: 132 kB / 487 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004976/0.4384, allocations: 357.8 kB / 487.3 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/0.4386, allocations: 116 kB / 487.4 MB, free: 7.324 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001596/0.4402, allocations: 1.252 MB / 488.7 MB, free: 6.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4402, allocations: 0 / 488.7 MB, free: 6.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005402/0.4456, allocations: 2.251 MB / 490.9 MB, free: 3.922 MB / 378.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.0005904/0.4462, allocations: 293 kB / 491.2 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1505/0.5967, allocations: 4.038 MB / 495.3 MB, free: 108.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.177e-05/0.5967, allocations: 2.406 kB / 495.3 MB, free: 108.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004443/0.6012, allocations: 2.246 MB / 497.5 MB, free: 107.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/0.604, allocations: 0.8047 MB / 498.3 MB, free: 107.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/0.6202, allocations: 13.32 MB / 0.4996 GB, free: 102.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/0.6222, allocations: 2.5 MB / 0.5021 GB, free: 102.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001819/0.624, allocations: 0.6432 MB / 0.5027 GB, free: 102.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/0.6255, allocations: 0.8887 MB / 0.5036 GB, free: 102.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.973e-06/0.6255, allocations: 0 / 0.5036 GB, free: 102.1 MB / 378.7 MB Notification: Performance of Templates: time 0.07367/0.6991, allocations: 59.38 MB / 0.5616 GB, free: 51.69 MB / 378.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] 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","",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.549745760392398]