Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 80.62 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 147.2 kB / 25.59 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.87/0.87, allocations: 173.4 MB / 202.2 MB, free: 8.266 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.0.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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 269.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212e-05/1.325e-05, allocations: 5.406 kB / 269.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.005728/0.005741, allocations: 6.924 MB / 276.1 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003232/0.008974, allocations: 2.156 MB / 278.3 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006205/0.009594, allocations: 63.62 kB / 278.3 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006947/0.01029, allocations: 461.2 kB / 278.8 MB, free: 156 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.01196, allocations: 0.9164 MB / 279.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.01252, allocations: 355.3 kB / 280.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002862/0.01538, allocations: 3.252 MB / 283.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.01679, allocations: 1.545 MB / 284.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.01889, allocations: 2.367 MB / 287.2 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.02063, allocations: 1.82 MB / 289 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000296/0.02093, allocations: 352 kB / 289.4 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005373/0.02147, allocations: 475.7 kB / 289.8 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005198/0.02199, allocations: 0.9465 MB / 290.8 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008102/0.0228, allocations: 1.107 MB / 291.9 MB, free: 2.945 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.0249, allocations: 2.753 MB / 294.7 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.0249, allocations: 7.938 kB / 294.7 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.0249, allocations: 0 / 294.7 MB, free: 180 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.665e-05/0.02493, allocations: 0 / 294.7 MB, free: 180 kB / 266.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.003659/0.02859, allocations: 3.604 MB / 298.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.02862, allocations: 12.03 kB / 298.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/0.03033, allocations: 0.8732 MB / 299.2 MB, free: 11.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.03168, allocations: 1.436 MB / 300.6 MB, free: 10.15 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.75e-05/0.03177, allocations: 193.7 kB / 300.8 MB, free: 9.957 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/0.03203, allocations: 272.4 kB / 301 MB, free: 9.691 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.03431, allocations: 2.102 MB / 303.1 MB, free: 7.477 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/0.03435, allocations: 3.938 kB / 303.1 MB, free: 7.473 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.03451, allocations: 116 kB / 303.3 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-05/0.03459, allocations: 101.4 kB / 303.4 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.03562, allocations: 0.7315 MB / 304.1 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007376/0.04299, allocations: 7.594 MB / 311.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.04457, allocations: 1.213 MB / 312.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000402/0.04497, allocations: 407.8 kB / 313.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001643/0.04661, allocations: 1.666 MB / 315 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.04665, allocations: 54.39 kB / 315 MB, free: 11.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 2.094e-06/0.04665, allocations: 0 / 315 MB, free: 11.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.002689/0.04934, allocations: 1.454 MB / 316.5 MB, free: 9.754 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.04937, allocations: 90.11 kB / 316.6 MB, free: 9.648 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007615/0.05013, allocations: 1.103 MB / 317.7 MB, free: 8.531 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.05018, allocations: 45.7 kB / 317.7 MB, free: 8.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005627/0.05074, allocations: 1.291 MB / 319 MB, free: 7.176 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.05094, allocations: 396.7 kB / 319.4 MB, free: 6.785 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.05116, allocations: 240.4 kB / 319.6 MB, free: 6.543 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.0513, allocations: 0.555 MB / 320.2 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.05148, allocations: 134.4 kB / 320.3 MB, free: 5.848 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/0.05184, allocations: 0.5412 MB / 320.8 MB, free: 5.152 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005959/0.05243, allocations: 0.7654 MB / 321.6 MB, free: 4.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.05244, allocations: 3.938 kB / 321.6 MB, free: 4.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001105/0.05354, allocations: 1.034 MB / 322.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.05356, allocations: 11.94 kB / 322.7 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.05357, allocations: 12.38 kB / 322.7 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008646/0.05444, allocations: 365.2 kB / 323 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.05483, allocations: 207.6 kB / 323.2 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003325/0.05816, allocations: 5.616 MB / 328.8 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.0585, allocations: 111.2 kB / 329 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/0.05855, allocations: 44.02 kB / 329 MB, free: 12.61 MB / 314.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,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003172/0.05887, allocations: 224.3 kB / 329.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.05904, allocations: 179.1 kB / 329.4 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.0603, allocations: 0.8867 MB / 330.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.0603, allocations: 19.92 kB / 330.3 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.06031, allocations: 8 kB / 330.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.06032, allocations: 3.984 kB / 330.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/0.0631, allocations: 2.791 MB / 333.1 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.06311, allocations: 0 / 333.1 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.06337, allocations: 119.9 kB / 333.2 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006043/0.06398, allocations: 369 kB / 333.6 MB, free: 7.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/0.06402, allocations: 35.97 kB / 333.6 MB, free: 7.875 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003528/0.06755, allocations: 5.61 MB / 339.2 MB, free: 2.047 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.06755, allocations: 0 / 339.2 MB, free: 2.047 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.0688, allocations: 1.326 MB / 340.6 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.06894, allocations: 162.8 kB / 340.7 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.06904, allocations: 27.98 kB / 340.7 MB, free: 496 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.06937, allocations: 55.97 kB / 340.8 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.0695, allocations: 104.7 kB / 340.9 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.06954, allocations: 20.05 kB / 340.9 MB, free: 312 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004205/0.06996, allocations: 0.5988 MB / 341.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06996, allocations: 0 / 341.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00112/0.07108, allocations: 0.6814 MB / 342.2 MB, free: 15.02 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,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.0002039/0.07128, allocations: 151 kB / 342.3 MB, free: 14.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.07239, allocations: 1.168 MB / 343.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.07239, allocations: 0 / 343.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007204/0.07312, allocations: 0.887 MB / 344.4 MB, free: 12.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.07414, allocations: 292.2 kB / 344.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.07806, allocations: 3.959 MB / 348.6 MB, free: 8.379 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.0786, allocations: 0.7613 MB / 349.4 MB, free: 7.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003553/0.07896, allocations: 166.8 kB / 349.6 MB, free: 7.422 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000487/0.07945, allocations: 370 kB / 349.9 MB, free: 7.059 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.07945, allocations: 4 kB / 349.9 MB, free: 7.055 MB / 330.7 MB Notification: Performance of Templates: time 0.1138/0.1933, allocations: 21.99 MB / 371.9 MB, free: 74.24 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.263371540233493]