Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.001831/0.001831, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002255/0.002255, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.493/1.493, allocations: 230.6 MB / 258.2 MB, free: 8.062 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.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [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.002164/0.002164, allocations: 72.77 kB / 379.1 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2572, allocations: 53.36 MB / 432.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01968/0.2769, allocations: 16.72 MB / 449.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.2874, allocations: 4.73 MB / 453.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00284/0.2902, allocations: 155.2 kB / 454 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01696/0.3072, allocations: 7.252 MB / 461.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007496/0.3147, allocations: 2.038 MB / 463.3 MB, free: 7.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004426/0.3191, allocations: 1.58 MB / 464.9 MB, free: 6.387 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01509/0.3342, allocations: 9.618 MB / 474.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02636/0.3605, allocations: 13.59 MB / 488.1 MB, free: 15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008923/0.3695, allocations: 5.389 MB / 493.5 MB, free: 9.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.3797, allocations: 5.989 MB / 499.5 MB, free: 3.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003821/0.3836, allocations: 1.359 MB / 0.4891 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005263/0.3888, allocations: 1.672 MB / 0.4907 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004501/0.3933, allocations: 2.794 MB / 0.4935 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01174/0.4051, allocations: 5.358 MB / 0.4987 GB, free: 8.375 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02629/0.4313, allocations: 18.41 MB / 0.5167 GB, free: 5.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.4314, allocations: 0 / 0.5167 GB, free: 5.906 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4314, allocations: 0 / 0.5167 GB, free: 5.906 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000517/0.4319, allocations: 0 / 0.5167 GB, free: 5.906 MB / 430.1 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.03643/0.4683, allocations: 12.26 MB / 0.5286 GB, free: 9.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.4684, allocations: 11.97 kB / 0.5286 GB, free: 9.559 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03728/0.5056, allocations: 6.199 MB / 0.5347 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4383/0.9439, allocations: 5.918 MB / 0.5405 GB, free: 86.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007327/0.9447, allocations: 0.6776 MB / 0.5411 GB, free: 86.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003474/0.9481, allocations: 0.8783 MB / 0.542 GB, free: 85.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03551/0.9836, allocations: 14.74 MB / 0.5564 GB, free: 80.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003597/0.984, allocations: 12.31 kB / 0.5564 GB, free: 80.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002606/0.9866, allocations: 370 kB / 0.5568 GB, free: 80.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004127/0.987, allocations: 0.4912 MB / 0.5572 GB, free: 79.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02445/1.011, allocations: 13.56 MB / 0.5705 GB, free: 68.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06661/1.078, allocations: 43.27 MB / 0.6127 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/1.088, allocations: 6.009 MB / 0.6186 GB, free: 19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00421/1.092, allocations: 2.867 MB / 0.6214 GB, free: 16.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004844/1.093, allocations: 134.6 kB / 0.6215 GB, free: 16.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.575e-05/1.093, allocations: 86.55 kB / 0.6216 GB, free: 15.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.855e-06/1.093, allocations: 0 / 0.6216 GB, free: 15.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.0202/1.113, allocations: 9.433 MB / 0.6308 GB, free: 6.504 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/1.113, allocations: 121.1 kB / 0.6309 GB, free: 6.367 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004858/1.118, allocations: 3.16 MB / 0.634 GB, free: 3.234 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005812/1.119, allocations: 93.7 kB / 0.6341 GB, free: 3.137 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001993/1.121, allocations: 3.832 MB / 0.6379 GB, free: 15.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001881/1.122, allocations: 1.466 MB / 0.6393 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002779/1.125, allocations: 1.14 MB / 0.6404 GB, free: 13.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/1.125, allocations: 305.1 kB / 0.6407 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005215/1.131, allocations: 2.845 MB / 0.6435 GB, free: 10.01 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007139/1.138, allocations: 4.904 MB / 0.6483 GB, free: 4.164 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01409/1.152, allocations: 8.276 MB / 0.6563 GB, free: 10.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/1.152, allocations: 16 kB / 0.6564 GB, free: 10.94 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01996/1.172, allocations: 9.118 MB / 0.6653 GB, free: 1.809 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.219e-05/1.172, allocations: 32 kB / 0.6653 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000145/1.172, allocations: 68 kB / 0.6654 GB, free: 1.711 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003718/1.176, allocations: 1.154 MB / 0.6665 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005292/1.181, allocations: 1.299 MB / 0.6678 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01757/1.199, allocations: 10.61 MB / 0.6781 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004609/1.203, allocations: 0.7414 MB / 0.6788 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/1.204, allocations: 284 kB / 0.6791 GB, free: 3.398 MB / 494.1 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.007344/1.212, allocations: 3.434 MB / 0.6825 GB, free: 15.95 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/1.213, allocations: 365.7 kB / 0.6828 GB, free: 15.59 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01537/1.228, allocations: 6.87 MB / 0.6895 GB, free: 8.691 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01136/1.24, allocations: 5.733 MB / 0.6951 GB, free: 2.945 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.614e-05/1.24, allocations: 12.25 kB / 0.6951 GB, free: 2.934 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.866e-05/1.24, allocations: 19.92 kB / 0.6951 GB, free: 2.914 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0326/1.273, allocations: 15.29 MB / 0.7101 GB, free: 3.383 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.846e-05/1.273, allocations: 19.92 kB / 0.7101 GB, free: 3.363 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003484/1.276, allocations: 0.7996 MB / 0.7109 GB, free: 2.562 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003657/1.28, allocations: 1.056 MB / 0.7119 GB, free: 1.5 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007111/1.28, allocations: 112 kB / 0.712 GB, free: 1.391 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01698/1.297, allocations: 10.38 MB / 0.7221 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.056e-05/1.297, allocations: 19.94 kB / 0.7222 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.022/1.319, allocations: 10.7 MB / 0.7326 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003611/1.323, allocations: 0.9649 MB / 0.7336 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001257/1.324, allocations: 95.98 kB / 0.7336 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003164/1.327, allocations: 271.8 kB / 0.7339 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001156/1.329, allocations: 363.2 kB / 0.7343 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006532/1.329, allocations: 151.9 kB / 0.7344 GB, free: 9.992 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004742/1.334, allocations: 2.125 MB / 0.7365 GB, free: 7.863 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.334, allocations: 4 kB / 0.7365 GB, free: 7.859 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009334/1.343, allocations: 2.251 MB / 0.7387 GB, free: 5.602 MB / 0.545 GB 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.001396/1.345, allocations: 302.1 kB / 0.739 GB, free: 5.297 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2475/1.592, allocations: 7.162 MB / 0.746 GB, free: 182.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-05/1.592, allocations: 2.5 kB / 0.746 GB, free: 182.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006965/1.599, allocations: 3.424 MB / 0.7493 GB, free: 182.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004152/1.603, allocations: 0.7973 MB / 0.7501 GB, free: 182 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02371/1.627, allocations: 16.24 MB / 0.7659 GB, free: 175.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005038/1.632, allocations: 5.929 MB / 0.7717 GB, free: 173.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004685/1.637, allocations: 2.158 MB / 0.7738 GB, free: 173.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008974/1.638, allocations: 338.8 kB / 0.7742 GB, free: 173 MB / 0.545 GB Notification: Performance of SimCode: time 1.292e-06/1.638, allocations: 0 / 0.7742 GB, free: 173 MB / 0.545 GB Notification: Performance of Templates: time 0.09636/1.734, allocations: 64.38 MB / 0.837 GB, free: 111.9 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.239255119115114]