Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.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.001373/0.001373, allocations: 82.39 kB / 21.99 MB, free: 4.75 MB / 14.72 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.001359/0.001359, allocations: 153.8 kB / 25.24 MB, free: 2.746 MB / 14.72 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 1.328/1.328, allocations: 158.6 MB / 187 MB, free: 6.199 MB / 174.1 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.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_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 55.92 kB / 299.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2068, allocations: 49.15 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.00845/0.2152, allocations: 6.36 MB / 354.9 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003625/0.2188, allocations: 2.161 MB / 357 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000416/0.2193, allocations: 63.56 kB / 357.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009134/0.2202, allocations: 453 kB / 357.5 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.2221, allocations: 0.8354 MB / 358.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007701/0.2228, allocations: 367.3 kB / 358.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003593/0.2264, allocations: 3.152 MB / 361.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/0.2284, allocations: 1.521 MB / 363.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.2299, allocations: 1.449 MB / 364.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002268/0.2322, allocations: 1.701 MB / 366.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000486/0.2327, allocations: 356 kB / 366.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008303/0.2335, allocations: 479.9 kB / 367.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000855/0.2344, allocations: 0.8997 MB / 368.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001418/0.2358, allocations: 1.295 MB / 369.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004626/0.2404, allocations: 4.701 MB / 374.3 MB, free: 5.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2404, allocations: 4 kB / 374.3 MB, free: 5.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2404, allocations: 0 / 374.3 MB, free: 5.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.696e-05/0.2405, allocations: 0 / 374.3 MB, free: 5.621 MB / 334.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.007925/0.2484, allocations: 3.624 MB / 377.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2484, allocations: 15.98 kB / 377.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0037/0.2521, allocations: 0.7016 MB / 378.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003098/0.2552, allocations: 1.646 MB / 380.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.2554, allocations: 193.7 kB / 380.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004016/0.2558, allocations: 276 kB / 380.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006102/0.2619, allocations: 3.833 MB / 384.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-05/0.262, allocations: 4 kB / 384.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002691/0.2622, allocations: 108 kB / 384.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/0.2623, allocations: 105.4 kB / 384.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005358/0.2677, allocations: 3.085 MB / 387.8 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01488/0.2826, allocations: 9.052 MB / 396.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004238/0.2868, allocations: 1.858 MB / 398.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.2883, allocations: 0.8666 MB / 399.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003762/0.292, allocations: 2.016 MB / 401.6 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.2921, allocations: 51.5 kB / 401.7 MB, free: 9.613 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 2.995e-06/0.2921, allocations: 0 / 401.7 MB, free: 9.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.00656/0.2986, allocations: 2.534 MB / 404.2 MB, free: 7.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.2987, allocations: 98.05 kB / 404.3 MB, free: 6.949 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.3005, allocations: 1.341 MB / 405.7 MB, free: 5.594 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.386e-05/0.3006, allocations: 49.7 kB / 405.7 MB, free: 5.539 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009424/0.3016, allocations: 1.179 MB / 406.9 MB, free: 4.348 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/0.3019, allocations: 392.7 kB / 407.3 MB, free: 3.961 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003532/0.3023, allocations: 214.9 kB / 407.5 MB, free: 3.746 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.3024, allocations: 361.8 kB / 407.8 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.3035, allocations: 0.5725 MB / 408.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.3047, allocations: 0.8613 MB / 409.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002314/0.307, allocations: 1.487 MB / 410.8 MB, free: 244 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.307, allocations: 4 kB / 410.8 MB, free: 240 kB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003526/0.3106, allocations: 1.982 MB / 412.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.3106, allocations: 8 kB / 412.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.3106, allocations: 8 kB / 412.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.3116, allocations: 401.3 kB / 413.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008731/0.3125, allocations: 219.6 kB / 413.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00816/0.3207, allocations: 6.301 MB / 419.7 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008723/0.3215, allocations: 139.1 kB / 419.8 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/0.3216, allocations: 52 kB / 419.9 MB, free: 6.918 MB / 382.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.001381/0.323, allocations: 0.8643 MB / 420.7 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.3232, allocations: 143.1 kB / 420.9 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003108/0.3263, allocations: 1.662 MB / 422.5 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.3264, allocations: 12 kB / 422.5 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.3264, allocations: 4 kB / 422.5 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.3264, allocations: 7.984 kB / 422.5 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006252/0.3326, allocations: 3.439 MB / 426 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.3326, allocations: 4 kB / 426 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/0.3332, allocations: 135.8 kB / 426.1 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009369/0.3342, allocations: 394.1 kB / 426.5 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-05/0.3343, allocations: 43.92 kB / 426.5 MB, free: 124 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00787/0.3421, allocations: 6.282 MB / 432.8 MB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.3421, allocations: 11.97 kB / 432.8 MB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004061/0.3462, allocations: 2.498 MB / 435.3 MB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.3465, allocations: 174.8 kB / 435.5 MB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.3467, allocations: 31.98 kB / 435.5 MB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007893/0.3475, allocations: 87.91 kB / 435.6 MB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/0.3477, allocations: 108.7 kB / 435.7 MB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-05/0.3477, allocations: 35.98 kB / 435.8 MB, free: 6.652 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001285/0.349, allocations: 0.923 MB / 436.7 MB, free: 5.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.349, allocations: 0 / 436.7 MB, free: 5.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001805/0.3508, allocations: 0.6814 MB / 437.4 MB, free: 5.039 MB / 398.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,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].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.0002838/0.3511, allocations: 155.3 kB / 437.5 MB, free: 4.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00315/0.3543, allocations: 1.764 MB / 439.3 MB, free: 3.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3543, allocations: 4 kB / 439.3 MB, free: 3.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001904/0.3562, allocations: 1.099 MB / 440.4 MB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.3575, allocations: 288.3 kB / 440.7 MB, free: 1.676 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007126/0.3647, allocations: 4.672 MB / 445.3 MB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001826/0.3665, allocations: 1.612 MB / 447 MB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008177/0.3673, allocations: 334.6 kB / 447.3 MB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.3675, allocations: 92.36 kB / 447.4 MB, free: 10.86 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3675, allocations: 0 / 447.4 MB, free: 10.86 MB / 414.1 MB Notification: Performance of Templates: time 0.037/0.4045, allocations: 20.59 MB / 468 MB, free: 6.215 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.071168871014379]