Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 47.94 kB / 371.7 MB, free: 9.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2958, allocations: 52.19 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009903/0.3057, allocations: 7.314 MB / 431.2 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004669/0.3104, allocations: 2.203 MB / 433.4 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008981/0.3113, allocations: 63.62 kB / 433.5 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.3123, allocations: 456.9 kB / 433.9 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.3148, allocations: 0.9248 MB / 434.8 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008814/0.3157, allocations: 374.9 kB / 435.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00425/0.32, allocations: 3.145 MB / 438.3 MB, free: 168 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.3224, allocations: 1.577 MB / 439.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.3246, allocations: 1.457 MB / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003637/0.3282, allocations: 1.709 MB / 443.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009814/0.3292, allocations: 356 kB / 443.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.331, allocations: 491.8 kB / 443.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.3321, allocations: 0.9115 MB / 444.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002588/0.3347, allocations: 1.606 MB / 446.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007056/0.3418, allocations: 4.679 MB / 451.1 MB, free: 3.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3418, allocations: 0 / 451.1 MB, free: 3.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3418, allocations: 0 / 451.1 MB, free: 3.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001372/0.3419, allocations: 0 / 451.1 MB, free: 3.305 MB / 350.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.01057/0.3525, allocations: 3.635 MB / 454.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3525, allocations: 11.97 kB / 454.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003854/0.3564, allocations: 0.7054 MB / 455.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004369/0.3607, allocations: 1.748 MB / 457.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.3609, allocations: 205.7 kB / 457.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006233/0.3616, allocations: 260.1 kB / 457.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007046/0.3686, allocations: 3.618 MB / 461.3 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.622e-05/0.3687, allocations: 0 / 461.3 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/0.3689, allocations: 108 kB / 461.4 MB, free: 8.879 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.369, allocations: 105.4 kB / 461.5 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005811/0.3748, allocations: 3.093 MB / 464.6 MB, free: 5.668 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01857/0.3934, allocations: 10.11 MB / 474.7 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003929/0.3973, allocations: 1.775 MB / 476.5 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.3988, allocations: 0.8606 MB / 477.3 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004329/0.4031, allocations: 2.16 MB / 479.5 MB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.4032, allocations: 51.44 kB / 479.5 MB, free: 6.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.665e-06/0.4032, allocations: 0 / 479.5 MB, free: 6.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006517/0.4097, allocations: 2.491 MB / 482 MB, free: 3.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/0.4098, allocations: 89.97 kB / 482.1 MB, free: 3.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/0.412, allocations: 1.371 MB / 483.5 MB, free: 2.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.4121, allocations: 45.7 kB / 483.5 MB, free: 2.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009962/0.4131, allocations: 1.191 MB / 484.7 MB, free: 1.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000378/0.4135, allocations: 384.8 kB / 485.1 MB, free: 0.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003562/0.4139, allocations: 214.9 kB / 485.3 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4141, allocations: 349.9 kB / 485.7 MB, free: 148 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.4151, allocations: 0.5686 MB / 486.2 MB, free: 15.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.4164, allocations: 0.849 MB / 487.1 MB, free: 14.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002301/0.4187, allocations: 1.451 MB / 488.5 MB, free: 13.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.4187, allocations: 4 kB / 488.5 MB, free: 13.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003728/0.4225, allocations: 1.95 MB / 490.5 MB, free: 11.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.4225, allocations: 10.81 kB / 490.5 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.4225, allocations: 15.98 kB / 490.5 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.4235, allocations: 402.9 kB / 490.9 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008617/0.4244, allocations: 219.6 kB / 491.1 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008202/0.4326, allocations: 6.312 MB / 497.4 MB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.4337, allocations: 159 kB / 497.6 MB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.4338, allocations: 51.92 kB / 497.6 MB, free: 3.699 MB / 398.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.001652/0.4355, allocations: 0.8565 MB / 498.5 MB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.4358, allocations: 143.1 kB / 498.6 MB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003239/0.4391, allocations: 1.636 MB / 0.4885 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.4391, allocations: 16 kB / 0.4886 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.4391, allocations: 4 kB / 0.4886 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.4391, allocations: 7.984 kB / 0.4886 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007411/0.4465, allocations: 3.89 MB / 0.4924 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.4465, allocations: 4 kB / 0.4924 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/0.4471, allocations: 135.8 kB / 0.4925 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.4482, allocations: 392.4 kB / 0.4929 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.37e-05/0.4482, allocations: 35.97 kB / 0.4929 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008406/0.4567, allocations: 6.308 MB / 0.4991 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.4567, allocations: 0 / 0.4991 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004509/0.4612, allocations: 2.47 MB / 0.5015 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005269/0.4617, allocations: 174.9 kB / 0.5016 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.4619, allocations: 24 kB / 0.5017 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007809/0.4626, allocations: 83.91 kB / 0.5017 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/0.4629, allocations: 108.6 kB / 0.5018 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.125e-05/0.463, allocations: 31.98 kB / 0.5019 GB, free: 3.027 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001474/0.4644, allocations: 0.963 MB / 0.5028 GB, free: 2.059 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4644, allocations: 0 / 0.5028 GB, free: 2.059 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001988/0.4664, allocations: 0.6852 MB / 0.5035 GB, free: 1.371 MB / 414.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.0003482/0.4668, allocations: 147 kB / 0.5036 GB, free: 1.215 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003286/0.4701, allocations: 1.729 MB / 0.5053 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.4701, allocations: 4 kB / 0.5053 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001982/0.4721, allocations: 1.094 MB / 0.5064 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.4737, allocations: 310.1 kB / 0.5067 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008193/0.4819, allocations: 4.634 MB / 0.5112 GB, free: 9.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001978/0.4838, allocations: 2.117 MB / 0.5133 GB, free: 7.172 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/0.4843, allocations: 99.42 kB / 0.5134 GB, free: 7.074 MB / 430.1 MB Notification: Performance of SimCode: time 1.413e-06/0.4843, allocations: 3.938 kB / 0.5134 GB, free: 7.07 MB / 430.1 MB Notification: Performance of Templates: time 0.2526/0.7369, allocations: 52.89 MB / 0.565 GB, free: 87.79 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 10.55049695004709]