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.001833/0.001833, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002179/0.002179, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.476/1.476, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001565/0.001565, allocations: 51.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2089, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009146/0.218, allocations: 6.947 MB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004359/0.2224, allocations: 2.382 MB / 441.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004887/0.2229, allocations: 71.56 kB / 441.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009014/0.2238, allocations: 460.9 kB / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.2257, allocations: 0.8703 MB / 443.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008231/0.2265, allocations: 395.2 kB / 443.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003549/0.2301, allocations: 3.246 MB / 446.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002012/0.2321, allocations: 1.58 MB / 448.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.2337, allocations: 1.464 MB / 449.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/0.2357, allocations: 1.716 MB / 451.4 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004748/0.2361, allocations: 360 kB / 451.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008615/0.237, allocations: 487.9 kB / 452.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008096/0.2378, allocations: 0.9075 MB / 453.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001397/0.2392, allocations: 1.307 MB / 454.5 MB, free: 444 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004575/0.2438, allocations: 4.745 MB / 459.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2438, allocations: 0 / 459.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2438, allocations: 3.938 kB / 459.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.87e-05/0.2439, allocations: 0 / 459.2 MB, free: 11.67 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.008337/0.2522, allocations: 3.644 MB / 462.9 MB, free: 7.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2522, allocations: 8.031 kB / 462.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004228/0.2565, allocations: 0.7445 MB / 463.6 MB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003893/0.2603, allocations: 1.795 MB / 465.4 MB, free: 5.387 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.2605, allocations: 201.7 kB / 465.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000435/0.2609, allocations: 260.1 kB / 465.9 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006299/0.2672, allocations: 3.848 MB / 469.7 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-05/0.2673, allocations: 4 kB / 469.7 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002709/0.2676, allocations: 104 kB / 469.8 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.2677, allocations: 109.4 kB / 469.9 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005184/0.2729, allocations: 3.093 MB / 473 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01519/0.2881, allocations: 8.92 MB / 482 MB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003964/0.292, allocations: 1.756 MB / 483.7 MB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.2934, allocations: 0.8684 MB / 484.6 MB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003954/0.2974, allocations: 2 MB / 486.6 MB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.2974, allocations: 47.44 kB / 486.6 MB, free: 15.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.926e-06/0.2974, allocations: 3.938 kB / 486.6 MB, free: 15.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006324/0.3037, allocations: 2.491 MB / 489.1 MB, free: 13.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.3038, allocations: 89.98 kB / 489.2 MB, free: 13.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.3056, allocations: 1.367 MB / 490.6 MB, free: 11.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.515e-05/0.3057, allocations: 45.7 kB / 490.6 MB, free: 11.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008638/0.3065, allocations: 1.199 MB / 491.8 MB, free: 10.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/0.3069, allocations: 380.8 kB / 492.2 MB, free: 10.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/0.3072, allocations: 226.9 kB / 492.4 MB, free: 9.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3074, allocations: 349.9 kB / 492.7 MB, free: 9.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009636/0.3084, allocations: 0.5686 MB / 493.3 MB, free: 8.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.3095, allocations: 0.8379 MB / 494.2 MB, free: 7.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/0.3117, allocations: 1.467 MB / 495.6 MB, free: 6.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.3117, allocations: 3.938 kB / 495.6 MB, free: 6.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00338/0.3151, allocations: 1.958 MB / 497.6 MB, free: 4.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3151, allocations: 12.03 kB / 497.6 MB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.3152, allocations: 8 kB / 497.6 MB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.3162, allocations: 402.8 kB / 498 MB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008799/0.3171, allocations: 215.6 kB / 498.2 MB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00785/0.3249, allocations: 6.19 MB / 0.4926 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009114/0.3258, allocations: 139.2 kB / 0.4927 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-05/0.3259, allocations: 48 kB / 0.4928 GB, free: 13.22 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.001392/0.3273, allocations: 0.8814 MB / 0.4936 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.3276, allocations: 139.1 kB / 0.4937 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003109/0.3307, allocations: 1.632 MB / 0.4953 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.3307, allocations: 8 kB / 0.4953 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.3307, allocations: 8 kB / 0.4954 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.3307, allocations: 7.969 kB / 0.4954 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006083/0.3368, allocations: 3.369 MB / 0.4987 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3368, allocations: 0 / 0.4987 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006203/0.3374, allocations: 135.8 kB / 0.4988 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009714/0.3384, allocations: 389.6 kB / 0.4992 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.302e-05/0.3385, allocations: 39.91 kB / 0.4992 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007741/0.3462, allocations: 6.173 MB / 0.5052 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.3462, allocations: 8.031 kB / 0.5052 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004111/0.3503, allocations: 2.478 MB / 0.5076 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.3507, allocations: 170.9 kB / 0.5078 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.3509, allocations: 28 kB / 0.5078 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007909/0.3517, allocations: 83.91 kB / 0.5079 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.3519, allocations: 100.7 kB / 0.508 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.743e-05/0.352, allocations: 35.98 kB / 0.508 GB, free: 13.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001324/0.3533, allocations: 0.9435 MB / 0.509 GB, free: 12.28 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3533, allocations: 3.938 kB / 0.509 GB, free: 12.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001795/0.3551, allocations: 0.6891 MB / 0.5096 GB, free: 11.58 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.0002786/0.3554, allocations: 159 kB / 0.5098 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003004/0.3584, allocations: 1.736 MB / 0.5115 GB, free: 9.645 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.3584, allocations: 3.938 kB / 0.5115 GB, free: 9.641 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001851/0.3602, allocations: 1.086 MB / 0.5126 GB, free: 8.531 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.3616, allocations: 292.4 kB / 0.5128 GB, free: 8.246 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007097/0.3687, allocations: 4.685 MB / 0.5174 GB, free: 3.496 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/0.3705, allocations: 1.617 MB / 0.519 GB, free: 1.836 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008455/0.3713, allocations: 334.7 kB / 0.5193 GB, free: 1.504 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.3715, allocations: 87.42 kB / 0.5194 GB, free: 1.418 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3715, allocations: 0 / 0.5194 GB, free: 1.418 MB / 430.1 MB Notification: Performance of Templates: time 0.2072/0.5788, allocations: 23.82 MB / 0.5427 GB, free: 100.6 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 -s gbode -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: 5.305113713009632]