Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.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.001626/0.001626, 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.001972/0.001972, allocations: 212 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.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.002031/0.002031, allocations: 60.77 kB / 379 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2459, allocations: 53.37 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01009/0.2559, allocations: 7.915 MB / 440.3 MB, free: 15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005534/0.2615, allocations: 2.515 MB / 442.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.2628, allocations: 71.56 kB / 442.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.264, allocations: 460.9 kB / 443.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.2668, allocations: 0.8809 MB / 444.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.268, allocations: 407.1 kB / 444.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004568/0.2726, allocations: 3.258 MB / 447.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00233/0.2749, allocations: 1.578 MB / 449.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.2771, allocations: 1.464 MB / 450.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002578/0.2797, allocations: 1.708 MB / 452.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006077/0.2803, allocations: 360 kB / 453 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.2815, allocations: 491.9 kB / 453.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008679/0.2823, allocations: 0.9153 MB / 454.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001921/0.2843, allocations: 1.61 MB / 456 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005312/0.2896, allocations: 4.725 MB / 460.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.2896, allocations: 0 / 460.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2896, allocations: 0 / 460.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000135/0.2897, allocations: 0 / 460.7 MB, free: 10.47 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.009086/0.2988, allocations: 3.651 MB / 464.4 MB, free: 6.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2988, allocations: 8.031 kB / 464.4 MB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004304/0.3031, allocations: 0.7445 MB / 465.1 MB, free: 6.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004015/0.3072, allocations: 1.795 MB / 466.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.3073, allocations: 197.7 kB / 467.1 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005433/0.3079, allocations: 268.1 kB / 467.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006786/0.3147, allocations: 3.622 MB / 471 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/0.3147, allocations: 0 / 471 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002936/0.315, allocations: 108.1 kB / 471.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/0.3151, allocations: 101.4 kB / 471.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005764/0.3209, allocations: 3.105 MB / 474.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01763/0.3385, allocations: 10.11 MB / 484.4 MB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003909/0.3424, allocations: 1.776 MB / 486.2 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.3439, allocations: 0.8567 MB / 487.1 MB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004456/0.3484, allocations: 2.195 MB / 489.3 MB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.3484, allocations: 43.44 kB / 489.3 MB, free: 13.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.654e-06/0.3484, allocations: 4 kB / 489.3 MB, free: 13.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.007068/0.3555, allocations: 2.499 MB / 491.8 MB, free: 10.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.424e-05/0.3556, allocations: 85.98 kB / 491.9 MB, free: 10.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/0.358, allocations: 1.407 MB / 493.3 MB, free: 9.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.3581, allocations: 41.7 kB / 493.3 MB, free: 9.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.3592, allocations: 1.203 MB / 494.5 MB, free: 8.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/0.3595, allocations: 384.8 kB / 494.9 MB, free: 7.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004394/0.36, allocations: 226.8 kB / 495.1 MB, free: 7.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.3602, allocations: 349.9 kB / 495.5 MB, free: 7.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.3612, allocations: 0.5685 MB / 496 MB, free: 6.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.3626, allocations: 0.8412 MB / 496.9 MB, free: 5.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002367/0.3649, allocations: 1.459 MB / 498.3 MB, free: 4.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.3649, allocations: 4 kB / 498.4 MB, free: 4.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003884/0.3688, allocations: 1.954 MB / 0.4886 GB, free: 2.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.3689, allocations: 15.98 kB / 0.4886 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.3689, allocations: 8 kB / 0.4886 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.37, allocations: 399.2 kB / 0.489 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008935/0.3709, allocations: 215.7 kB / 0.4892 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008763/0.3796, allocations: 6.335 MB / 0.4954 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.3808, allocations: 143 kB / 0.4955 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.3809, allocations: 51.98 kB / 0.4956 GB, free: 10.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001601/0.3825, allocations: 0.872 MB / 0.4964 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.3828, allocations: 147.2 kB / 0.4966 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003346/0.3861, allocations: 1.64 MB / 0.4982 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.3861, allocations: 11.94 kB / 0.4982 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.3861, allocations: 8 kB / 0.4982 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.3862, allocations: 3.984 kB / 0.4982 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007513/0.3937, allocations: 3.902 MB / 0.502 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.3937, allocations: 4 kB / 0.502 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006365/0.3943, allocations: 127.8 kB / 0.5021 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/0.3954, allocations: 397.6 kB / 0.5025 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.513e-05/0.3954, allocations: 35.98 kB / 0.5025 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008342/0.4038, allocations: 6.305 MB / 0.5087 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.4038, allocations: 0 / 0.5087 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/0.4081, allocations: 2.486 MB / 0.5111 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/0.4086, allocations: 174.9 kB / 0.5113 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.4088, allocations: 24 kB / 0.5113 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007727/0.4095, allocations: 91.91 kB / 0.5114 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/0.4098, allocations: 108.5 kB / 0.5115 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.309e-05/0.4099, allocations: 39.98 kB / 0.5115 GB, free: 9.934 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001501/0.4114, allocations: 0.9756 MB / 0.5125 GB, free: 8.953 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4114, allocations: 0 / 0.5125 GB, free: 8.953 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001881/0.4132, allocations: 0.6852 MB / 0.5132 GB, free: 8.266 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003328/0.4136, allocations: 164.3 kB / 0.5133 GB, free: 8.094 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003438/0.417, allocations: 1.733 MB / 0.515 GB, free: 6.328 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.417, allocations: 0 / 0.515 GB, free: 6.328 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00203/0.419, allocations: 1.09 MB / 0.5161 GB, free: 5.215 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.4206, allocations: 304.5 kB / 0.5164 GB, free: 4.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008835/0.4294, allocations: 4.687 MB / 0.5209 GB, free: 176 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002193/0.4316, allocations: 2.188 MB / 0.5231 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001098/0.4327, allocations: 343 kB / 0.5234 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.4329, allocations: 87.42 kB / 0.5235 GB, free: 13.52 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.433, allocations: 0 / 0.5235 GB, free: 13.52 MB / 446.1 MB Notification: Performance of Templates: time 0.2345/0.6675, allocations: 22 MB / 0.545 GB, free: 95.13 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.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: 5.405101589858532]