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.001368/0.001368, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001545/0.001545, allocations: 212.5 kB / 23.73 MB, free: 4.41 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.828 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.001693/0.001693, allocations: 39.94 kB / 378.2 MB, free: 2.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2315, allocations: 53.36 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009227/0.2407, allocations: 6.945 MB / 438.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005173/0.2459, allocations: 2.382 MB / 440.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.2471, allocations: 71.56 kB / 441 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.2483, allocations: 456.9 kB / 441.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002678/0.251, allocations: 0.8704 MB / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.2521, allocations: 395.2 kB / 442.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004301/0.2564, allocations: 3.249 MB / 445.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002229/0.2586, allocations: 1.537 MB / 447.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002026/0.2606, allocations: 1.464 MB / 448.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002541/0.2632, allocations: 1.705 MB / 450.6 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005559/0.2637, allocations: 360 kB / 451 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.2648, allocations: 483.8 kB / 451.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008654/0.2657, allocations: 0.9114 MB / 452.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001545/0.2672, allocations: 1.307 MB / 453.7 MB, free: 500 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005457/0.2727, allocations: 4.739 MB / 458.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2727, allocations: 0 / 458.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2727, allocations: 0 / 458.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001079/0.2728, allocations: 0 / 458.4 MB, free: 11.74 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.008826/0.2816, allocations: 3.651 MB / 462.1 MB, free: 8.039 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2817, allocations: 8.031 kB / 462.1 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004133/0.2858, allocations: 0.7445 MB / 462.8 MB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/0.2901, allocations: 1.795 MB / 464.6 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.2903, allocations: 201.7 kB / 464.8 MB, free: 5.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004725/0.2908, allocations: 272.1 kB / 465.1 MB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006539/0.2973, allocations: 3.836 MB / 468.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-05/0.2974, allocations: 3.938 kB / 468.9 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.2976, allocations: 108 kB / 469 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.2978, allocations: 109.4 kB / 469.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005284/0.303, allocations: 3.093 MB / 472.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01639/0.3194, allocations: 8.916 MB / 481.1 MB, free: 4.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004037/0.3235, allocations: 1.753 MB / 482.9 MB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.325, allocations: 0.8723 MB / 483.8 MB, free: 1.836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004322/0.3293, allocations: 1.984 MB / 485.7 MB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.481e-05/0.3293, allocations: 59.3 kB / 485.8 MB, free: 15.76 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.855e-06/0.3293, allocations: 0 / 485.8 MB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006385/0.3357, allocations: 2.495 MB / 488.3 MB, free: 13.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.3358, allocations: 93.92 kB / 488.4 MB, free: 13.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.3378, allocations: 1.363 MB / 489.8 MB, free: 11.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.926e-05/0.3378, allocations: 45.7 kB / 489.8 MB, free: 11.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009032/0.3387, allocations: 1.203 MB / 491 MB, free: 10.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/0.3391, allocations: 376.8 kB / 491.4 MB, free: 10.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003415/0.3394, allocations: 218.9 kB / 491.6 MB, free: 9.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3396, allocations: 361.9 kB / 491.9 MB, free: 9.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009639/0.3405, allocations: 0.5647 MB / 492.5 MB, free: 8.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.3418, allocations: 0.8457 MB / 493.3 MB, free: 8.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002187/0.3439, allocations: 1.459 MB / 494.8 MB, free: 6.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.3439, allocations: 0 / 494.8 MB, free: 6.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003365/0.3473, allocations: 1.97 MB / 496.8 MB, free: 4.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.3473, allocations: 8 kB / 496.8 MB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.3473, allocations: 8 kB / 496.8 MB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009804/0.3483, allocations: 397.2 kB / 497.2 MB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008365/0.3492, allocations: 219.6 kB / 497.4 MB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008115/0.3573, allocations: 6.184 MB / 0.4918 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009328/0.3582, allocations: 135.1 kB / 0.4919 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-05/0.3583, allocations: 55.98 kB / 0.492 GB, free: 13.28 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.001466/0.3598, allocations: 0.8721 MB / 0.4928 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.36, allocations: 139.1 kB / 0.4929 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003076/0.3631, allocations: 1.632 MB / 0.4945 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.3631, allocations: 12 kB / 0.4945 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.3631, allocations: 8 kB / 0.4946 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.3631, allocations: 3.984 kB / 0.4946 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006322/0.3694, allocations: 3.373 MB / 0.4979 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.3694, allocations: 8.172 kB / 0.4979 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/0.37, allocations: 135.8 kB / 0.498 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000932/0.371, allocations: 396.7 kB / 0.4984 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.381e-05/0.371, allocations: 31.92 kB / 0.4984 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007771/0.3788, allocations: 6.168 MB / 0.5044 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/0.3788, allocations: 11.94 kB / 0.5044 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004181/0.383, allocations: 2.474 MB / 0.5069 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/0.3834, allocations: 166.9 kB / 0.507 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.3836, allocations: 31.98 kB / 0.507 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007816/0.3844, allocations: 79.92 kB / 0.5071 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/0.3846, allocations: 108.6 kB / 0.5072 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-05/0.3847, allocations: 27.98 kB / 0.5072 GB, free: 13.29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001389/0.3861, allocations: 0.9512 MB / 0.5082 GB, free: 12.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3861, allocations: 4 kB / 0.5082 GB, free: 12.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001818/0.3879, allocations: 0.693 MB / 0.5089 GB, free: 11.63 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.0002992/0.3882, allocations: 159 kB / 0.509 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003147/0.3913, allocations: 1.729 MB / 0.5107 GB, free: 9.707 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3913, allocations: 4.188 kB / 0.5107 GB, free: 9.703 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.3932, allocations: 1.093 MB / 0.5118 GB, free: 8.586 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.3946, allocations: 284.4 kB / 0.512 GB, free: 8.309 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007716/0.4023, allocations: 4.685 MB / 0.5166 GB, free: 3.555 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001899/0.4042, allocations: 1.621 MB / 0.5182 GB, free: 1.891 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001012/0.4052, allocations: 338.6 kB / 0.5185 GB, free: 1.555 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.4055, allocations: 87.41 kB / 0.5186 GB, free: 1.469 MB / 430.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4055, allocations: 0 / 0.5186 GB, free: 1.469 MB / 430.1 MB Notification: Performance of Templates: time 0.2225/0.6279, allocations: 23.36 MB / 0.5414 GB, free: 100.4 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/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_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.298917407169938]