Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001285/0.001285, allocations: 112.2 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.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.001388/0.001388, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.398/1.398, allocations: 230.6 MB / 258.3 MB, free: 8.227 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+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_4.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 43.92 kB / 379 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2274, allocations: 53.37 MB / 432.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009326/0.2367, allocations: 7.914 MB / 440.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004862/0.2416, allocations: 2.515 MB / 442.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009653/0.2426, allocations: 71.56 kB / 442.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.2436, allocations: 460.9 kB / 443.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002307/0.2459, allocations: 0.8937 MB / 444.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009408/0.2468, allocations: 406 kB / 444.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003948/0.2508, allocations: 3.244 MB / 447.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.2528, allocations: 1.58 MB / 449.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0018/0.2546, allocations: 1.457 MB / 450.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/0.257, allocations: 1.724 MB / 452.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004953/0.2575, allocations: 360 kB / 453 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009626/0.2584, allocations: 483.9 kB / 453.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000797/0.2592, allocations: 0.9153 MB / 454.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001937/0.2612, allocations: 1.614 MB / 456 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005732/0.2669, allocations: 4.719 MB / 460.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2669, allocations: 0 / 460.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2669, allocations: 0 / 460.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001564/0.2671, allocations: 0 / 460.7 MB, free: 10.46 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.01027/0.2773, allocations: 3.651 MB / 464.4 MB, free: 6.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.2774, allocations: 8.031 kB / 464.4 MB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003932/0.2813, allocations: 0.7523 MB / 465.1 MB, free: 6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003662/0.285, allocations: 1.795 MB / 466.9 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.2851, allocations: 201.7 kB / 467.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004278/0.2855, allocations: 268.1 kB / 467.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00597/0.2915, allocations: 3.607 MB / 471 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.495e-05/0.2916, allocations: 0 / 471 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002529/0.2918, allocations: 108 kB / 471.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.2919, allocations: 117.3 kB / 471.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005171/0.2971, allocations: 3.097 MB / 474.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01642/0.3135, allocations: 10.11 MB / 484.4 MB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003698/0.3172, allocations: 1.777 MB / 486.2 MB, free: 488 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.3186, allocations: 0.8684 MB / 487.1 MB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003841/0.3224, allocations: 2.183 MB / 489.2 MB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.3225, allocations: 43.44 kB / 489.3 MB, free: 13.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.735e-06/0.3225, allocations: 0 / 489.3 MB, free: 13.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006029/0.3285, allocations: 2.503 MB / 491.8 MB, free: 10.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.3286, allocations: 93.97 kB / 491.9 MB, free: 10.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.3304, allocations: 1.404 MB / 493.3 MB, free: 9.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-05/0.3305, allocations: 41.7 kB / 493.3 MB, free: 9.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008503/0.3313, allocations: 1.207 MB / 494.5 MB, free: 8.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/0.3316, allocations: 380.8 kB / 494.9 MB, free: 7.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/0.3319, allocations: 218.9 kB / 495.1 MB, free: 7.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3321, allocations: 361.9 kB / 495.5 MB, free: 7.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009222/0.333, allocations: 0.5647 MB / 496 MB, free: 6.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.3342, allocations: 0.8457 MB / 496.9 MB, free: 5.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00215/0.3364, allocations: 1.459 MB / 498.3 MB, free: 3.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.3364, allocations: 4 kB / 498.3 MB, free: 3.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003465/0.3398, allocations: 1.954 MB / 0.4886 GB, free: 2.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3399, allocations: 8 kB / 0.4886 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.3399, allocations: 8 kB / 0.4886 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009867/0.3409, allocations: 402.9 kB / 0.489 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008122/0.3417, allocations: 211.7 kB / 0.4892 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007847/0.3495, allocations: 6.349 MB / 0.4954 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.3506, allocations: 143.1 kB / 0.4955 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.707e-05/0.3507, allocations: 55.98 kB / 0.4956 GB, free: 10.63 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.001431/0.3521, allocations: 0.8758 MB / 0.4964 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002614/0.3524, allocations: 143.1 kB / 0.4966 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/0.3554, allocations: 1.636 MB / 0.4982 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.3554, allocations: 12 kB / 0.4982 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.3554, allocations: 4 kB / 0.4982 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.3554, allocations: 7.984 kB / 0.4982 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006647/0.3621, allocations: 3.902 MB / 0.502 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3621, allocations: 0 / 0.502 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005783/0.3626, allocations: 135.8 kB / 0.5021 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009595/0.3636, allocations: 393.4 kB / 0.5025 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.576e-05/0.3637, allocations: 31.98 kB / 0.5025 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007682/0.3714, allocations: 6.3 MB / 0.5087 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3714, allocations: 4 kB / 0.5087 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004012/0.3754, allocations: 2.486 MB / 0.5111 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/0.3758, allocations: 174.9 kB / 0.5113 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.376, allocations: 24 kB / 0.5113 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000757/0.3767, allocations: 91.91 kB / 0.5114 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.377, allocations: 104.5 kB / 0.5115 GB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.377, allocations: 35.98 kB / 0.5115 GB, free: 9.918 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001345/0.3784, allocations: 0.9795 MB / 0.5125 GB, free: 8.934 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3784, allocations: 0 / 0.5125 GB, free: 8.934 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001748/0.3801, allocations: 0.693 MB / 0.5132 GB, free: 8.238 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.0002787/0.3804, allocations: 150 kB / 0.5133 GB, free: 8.082 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002993/0.3834, allocations: 1.733 MB / 0.515 GB, free: 6.316 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.3834, allocations: 4.062 kB / 0.515 GB, free: 6.312 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.3852, allocations: 1.089 MB / 0.5161 GB, free: 5.199 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.3867, allocations: 311.6 kB / 0.5164 GB, free: 4.898 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007348/0.394, allocations: 4.651 MB / 0.5209 GB, free: 184 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001829/0.3958, allocations: 2.125 MB / 0.523 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/0.3962, allocations: 107.4 kB / 0.5231 GB, free: 13.91 MB / 446.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3962, allocations: 0 / 0.5231 GB, free: 13.91 MB / 446.1 MB Notification: Performance of Templates: time 0.2279/0.6241, allocations: 53.69 MB / 0.5755 GB, free: 69.99 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.12871441198513]