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.0007575/0.0007575, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0007809/0.0007809, allocations: 161.4 kB / 25.45 MB, free: 9.348 MB / 18.57 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 0.9475/0.9475, allocations: 158.6 MB / 187.2 MB, free: 3.059 MB / 170.7 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: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 3.938 kB / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.577e-05/3.81e-05, allocations: 2.281 kB / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008582/0.00862, allocations: 6.366 MB / 306.1 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004717/0.01334, allocations: 2.15 MB / 308.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006723/0.01401, allocations: 59.56 kB / 308.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009834/0.01499, allocations: 464.8 kB / 308.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.01717, allocations: 0.8425 MB / 309.6 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008265/0.018, allocations: 387.2 kB / 309.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003632/0.02163, allocations: 3.244 MB / 313.2 MB, free: 9.359 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002186/0.02382, allocations: 1.528 MB / 314.7 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002637/0.02646, allocations: 2.082 MB / 316.8 MB, free: 5.684 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.02796, allocations: 1.535 MB / 318.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002767/0.02824, allocations: 356 kB / 318.7 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006053/0.02884, allocations: 471.8 kB / 319.1 MB, free: 3.336 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004962/0.02934, allocations: 0.9347 MB / 320.1 MB, free: 2.398 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.03045, allocations: 1.099 MB / 321.2 MB, free: 1.297 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003099/0.03355, allocations: 4.74 MB / 325.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.03356, allocations: 0 / 325.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.03356, allocations: 0 / 325.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.372e-05/0.03359, allocations: 0 / 325.9 MB, free: 12.54 MB / 314.7 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.005829/0.03942, allocations: 3.601 MB / 329.5 MB, free: 8.895 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.415e-05/0.03948, allocations: 11.98 kB / 329.5 MB, free: 8.883 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002587/0.04207, allocations: 0.6977 MB / 330.2 MB, free: 8.184 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003281/0.04535, allocations: 1.646 MB / 331.9 MB, free: 6.492 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.04549, allocations: 197.7 kB / 332.1 MB, free: 6.297 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000566/0.04606, allocations: 264.3 kB / 332.3 MB, free: 6.039 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006048/0.05211, allocations: 3.833 MB / 336.2 MB, free: 2.098 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/0.05215, allocations: 3.938 kB / 336.2 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.05233, allocations: 112 kB / 336.3 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.665e-05/0.05242, allocations: 101.4 kB / 336.4 MB, free: 1.883 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004402/0.05682, allocations: 3.093 MB / 339.5 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01333/0.07016, allocations: 9.048 MB / 348.5 MB, free: 5.391 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/0.07289, allocations: 1.87 MB / 350.4 MB, free: 3.527 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.07396, allocations: 0.8701 MB / 351.3 MB, free: 2.656 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003103/0.07706, allocations: 2.023 MB / 353.3 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.0771, allocations: 43.56 kB / 353.3 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 3.276e-06/0.07711, allocations: 4 kB / 353.3 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.1964/0.2735, allocations: 2.53 MB / 355.9 MB, free: 58.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.2736, allocations: 88.89 kB / 355.9 MB, free: 58.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.2751, allocations: 1.341 MB / 357.3 MB, free: 57.76 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.2752, allocations: 43.14 kB / 357.3 MB, free: 57.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006198/0.2758, allocations: 1.188 MB / 358.5 MB, free: 57.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.276, allocations: 371 kB / 358.9 MB, free: 56.87 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.2762, allocations: 222.1 kB / 359.1 MB, free: 56.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.2763, allocations: 354 kB / 359.4 MB, free: 56.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006756/0.277, allocations: 0.577 MB / 360 MB, free: 56.24 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008384/0.2778, allocations: 0.8614 MB / 360.9 MB, free: 55.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.2795, allocations: 1.482 MB / 362.4 MB, free: 54.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.2795, allocations: 7.031 kB / 362.4 MB, free: 54.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002405/0.2819, allocations: 1.983 MB / 364.3 MB, free: 54.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.2819, allocations: 12.38 kB / 364.4 MB, free: 54.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.2819, allocations: 7.562 kB / 364.4 MB, free: 54.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006646/0.2826, allocations: 408.7 kB / 364.8 MB, free: 54.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.2831, allocations: 217.4 kB / 365 MB, free: 54.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004261/0.2873, allocations: 6.292 MB / 371.3 MB, free: 49.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005596/0.2879, allocations: 149.7 kB / 371.4 MB, free: 49.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.288, allocations: 49.62 kB / 371.5 MB, free: 49.75 MB / 330.7 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.001021/0.289, allocations: 0.8673 MB / 372.3 MB, free: 49.33 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.2891, allocations: 133.5 kB / 372.5 MB, free: 49.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.2907, allocations: 1.661 MB / 374.1 MB, free: 48.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2907, allocations: 10.41 kB / 374.1 MB, free: 48.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2907, allocations: 11.47 kB / 374.1 MB, free: 48.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.2907, allocations: 3.844 kB / 374.2 MB, free: 48.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/0.2936, allocations: 3.436 MB / 377.6 MB, free: 45.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2936, allocations: 0 / 377.6 MB, free: 45.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.2939, allocations: 139.8 kB / 377.7 MB, free: 45.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004803/0.2943, allocations: 389.8 kB / 378.1 MB, free: 45.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.2944, allocations: 31.98 kB / 378.1 MB, free: 45.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003897/0.2983, allocations: 6.3 MB / 384.4 MB, free: 38.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.2983, allocations: 8.094 kB / 384.4 MB, free: 38.72 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/0.3006, allocations: 2.488 MB / 386.9 MB, free: 36.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.3008, allocations: 181.3 kB / 387.1 MB, free: 36.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.026e-05/0.3009, allocations: 31.98 kB / 387.1 MB, free: 36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.3013, allocations: 87.89 kB / 387.2 MB, free: 35.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/0.3015, allocations: 104.8 kB / 387.3 MB, free: 35.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.3016, allocations: 27.98 kB / 387.4 MB, free: 35.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007493/0.3023, allocations: 0.9348 MB / 388.3 MB, free: 34.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3023, allocations: 0 / 388.3 MB, free: 34.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001515/0.3038, allocations: 0.6891 MB / 389 MB, free: 34.15 MB / 330.7 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.0003343/0.3042, allocations: 151 kB / 389.1 MB, free: 34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001879/0.306, allocations: 1.75 MB / 390.9 MB, free: 32.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.306, allocations: 4.188 kB / 390.9 MB, free: 32.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009586/0.307, allocations: 1.105 MB / 392 MB, free: 31.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008583/0.3079, allocations: 276.3 kB / 392.3 MB, free: 30.83 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005049/0.3129, allocations: 4.54 MB / 396.8 MB, free: 26.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.314, allocations: 1.555 MB / 398.4 MB, free: 24.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.3142, allocations: 92.48 kB / 398.4 MB, free: 24.55 MB / 330.7 MB Notification: Performance of SimCode: time 1.273e-06/0.3142, allocations: 4 kB / 398.4 MB, free: 24.55 MB / 330.7 MB Notification: Performance of Templates: time 0.04045/0.3546, allocations: 53.65 MB / 452.1 MB, free: 2.832 MB / 362.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/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: 6.547381113283336]