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.001789/0.001789, allocations: 86.22 kB / 21.44 MB, free: 296 kB / 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.002059/0.002059, allocations: 161.1 kB / 24.7 MB, free: 3.551 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.318/1.318, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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 4.479e-06/4.479e-06, allocations: 4 kB / 299 MB, free: 8.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.434e-05, allocations: 2.281 kB / 299 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008316/0.008351, allocations: 6.377 MB / 305.3 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004463/0.01281, allocations: 2.134 MB / 307.5 MB, free: 168 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007279/0.01354, allocations: 67.56 kB / 307.5 MB, free: 100 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.01464, allocations: 464.7 kB / 308 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.01708, allocations: 0.8503 MB / 308.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009183/0.018, allocations: 386 kB / 309.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003967/0.02197, allocations: 3.233 MB / 312.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.02392, allocations: 1.52 MB / 314 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002596/0.02652, allocations: 2.09 MB / 316.1 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00215/0.02867, allocations: 1.524 MB / 317.6 MB, free: 5.961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005137/0.02918, allocations: 356 kB / 317.9 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.03019, allocations: 487.7 kB / 318.4 MB, free: 5.137 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008228/0.03102, allocations: 0.9347 MB / 319.3 MB, free: 4.199 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.03256, allocations: 1.103 MB / 320.4 MB, free: 3.094 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1606/0.1931, allocations: 4.724 MB / 325.2 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1931, allocations: 0 / 325.2 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1931, allocations: 1.5 kB / 325.2 MB, free: 20.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001342/0.1933, allocations: 0 / 325.2 MB, free: 20.93 MB / 302.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.00906/0.2023, allocations: 3.59 MB / 328.8 MB, free: 19.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2024, allocations: 14.92 kB / 328.8 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003797/0.2062, allocations: 0.7046 MB / 329.5 MB, free: 19.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003676/0.2098, allocations: 1.638 MB / 331.1 MB, free: 19.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.21, allocations: 199 kB / 331.3 MB, free: 19.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004466/0.2104, allocations: 267.4 kB / 331.6 MB, free: 19.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006108/0.2166, allocations: 3.838 MB / 335.4 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/0.2166, allocations: 0 / 335.4 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002613/0.2169, allocations: 114.3 kB / 335.5 MB, free: 17.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/0.217, allocations: 103.2 kB / 335.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005258/0.2222, allocations: 3.091 MB / 338.7 MB, free: 16.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01217/0.2344, allocations: 9.055 MB / 347.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003425/0.2378, allocations: 1.858 MB / 349.6 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.2389, allocations: 0.8717 MB / 350.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002944/0.2418, allocations: 2.029 MB / 352.5 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.2418, allocations: 47.56 kB / 352.6 MB, free: 7.953 MB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 2.455e-06/0.2418, allocations: 0 / 352.6 MB, free: 7.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.005392/0.2472, allocations: 2.531 MB / 355.1 MB, free: 5.438 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.2473, allocations: 90.11 kB / 355.2 MB, free: 5.332 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.2485, allocations: 1.341 MB / 356.5 MB, free: 3.977 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.786e-05/0.2486, allocations: 41.7 kB / 356.6 MB, free: 3.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004194/0.249, allocations: 1.191 MB / 357.8 MB, free: 2.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.2492, allocations: 371.6 kB / 358.1 MB, free: 2.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/0.2495, allocations: 218.9 kB / 358.3 MB, free: 2.148 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.131e-05/0.2495, allocations: 357.9 kB / 358.7 MB, free: 1.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000729/0.2503, allocations: 0.5764 MB / 359.3 MB, free: 1.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008305/0.2511, allocations: 0.8613 MB / 360.1 MB, free: 252 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/0.2532, allocations: 1.486 MB / 361.6 MB, free: 14.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.2532, allocations: 6.234 kB / 361.6 MB, free: 14.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003618/0.2568, allocations: 1.985 MB / 363.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.2569, allocations: 11.98 kB / 363.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.2569, allocations: 8 kB / 363.6 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.258, allocations: 404.2 kB / 364 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008298/0.2588, allocations: 222.6 kB / 364.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007812/0.2666, allocations: 6.295 MB / 370.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.2677, allocations: 147.1 kB / 370.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.382e-05/0.2678, allocations: 48 kB / 370.7 MB, free: 5.469 MB / 318.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.001449/0.2692, allocations: 0.8633 MB / 371.6 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/0.2695, allocations: 139.1 kB / 371.7 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003118/0.2726, allocations: 1.651 MB / 373.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.2726, allocations: 15.94 kB / 373.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.2726, allocations: 8 kB / 373.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.2727, allocations: 7.547 kB / 373.4 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006057/0.2787, allocations: 3.43 MB / 376.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.2787, allocations: 7.984 kB / 376.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/0.2793, allocations: 134.6 kB / 377 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009688/0.2803, allocations: 401.9 kB / 377.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/0.2804, allocations: 31.98 kB / 377.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007792/0.2882, allocations: 6.299 MB / 383.7 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2882, allocations: 0 / 383.7 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004212/0.2924, allocations: 2.494 MB / 386.2 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000415/0.2928, allocations: 170.9 kB / 386.4 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.293, allocations: 27.98 kB / 386.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007964/0.2938, allocations: 91.84 kB / 386.5 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/0.294, allocations: 108.3 kB / 386.6 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.48e-05/0.2941, allocations: 31.98 kB / 386.6 MB, free: 5.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001365/0.2954, allocations: 0.9309 MB / 387.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2954, allocations: 0 / 387.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001981/0.2974, allocations: 0.6852 MB / 388.2 MB, free: 3.766 MB / 334.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.0003339/0.2978, allocations: 161.2 kB / 388.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003091/0.3009, allocations: 1.753 MB / 390.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.3009, allocations: 0 / 390.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001885/0.3027, allocations: 1.1 MB / 391.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.3043, allocations: 288.1 kB / 391.5 MB, free: 480 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007452/0.3117, allocations: 4.581 MB / 396.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001783/0.3135, allocations: 1.604 MB / 397.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000997/0.3145, allocations: 338.5 kB / 398 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.3147, allocations: 84.48 kB / 398.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3147, allocations: 0 / 398.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of Templates: time 0.03854/0.3533, allocations: 20.49 MB / 418.6 MB, free: 5.289 MB / 366.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 -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: 4.9760174341499805]