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.001423/0.001423, allocations: 85.95 kB / 22.21 MB, free: 2.285 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.001016/0.001016, allocations: 168.8 kB / 25.6 MB, free: 8.441 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.8942/0.8942, allocations: 158.6 MB / 187.5 MB, free: 2.816 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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..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 1.203e-06/1.203e-06, allocations: 0 / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.744e-05, allocations: 2.312 kB / 251.5 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.00814/0.008157, allocations: 6.873 MB / 258.3 MB, free: 328 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.01103, allocations: 2.2 MB / 260.5 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004025/0.01143, allocations: 55.62 kB / 260.6 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006315/0.01206, allocations: 472.8 kB / 261.1 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.01337, allocations: 0.8502 MB / 261.9 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005544/0.01393, allocations: 371.3 kB / 262.3 MB, free: 12.37 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002514/0.01644, allocations: 3.252 MB / 265.5 MB, free: 9.109 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.01772, allocations: 1.524 MB / 267.1 MB, free: 7.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.01973, allocations: 2.367 MB / 269.4 MB, free: 5.148 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.02114, allocations: 1.813 MB / 271.2 MB, free: 3.332 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003015/0.02145, allocations: 356 kB / 271.6 MB, free: 2.984 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005676/0.02201, allocations: 467.7 kB / 272 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004926/0.02251, allocations: 0.9426 MB / 273 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007509/0.02326, allocations: 1.107 MB / 274.1 MB, free: 484 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002244/0.0255, allocations: 2.753 MB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.0255, allocations: 0 / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.02551, allocations: 0 / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.716e-05/0.02553, allocations: 0 / 276.8 MB, free: 13.71 MB / 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.003722/0.02925, allocations: 3.615 MB / 280.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.02929, allocations: 11.98 kB / 280.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.03102, allocations: 0.881 MB / 281.3 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.0323, allocations: 1.296 MB / 282.6 MB, free: 7.812 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004045/0.03271, allocations: 201.7 kB / 282.8 MB, free: 7.613 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002511/0.03296, allocations: 268.3 kB / 283.1 MB, free: 7.352 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.03499, allocations: 2.106 MB / 285.2 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.03502, allocations: 3.938 kB / 285.2 MB, free: 5.129 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/0.03517, allocations: 108 kB / 285.3 MB, free: 5.023 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-05/0.03525, allocations: 105.4 kB / 285.4 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.03626, allocations: 0.7354 MB / 286.2 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007368/0.04363, allocations: 7.66 MB / 293.8 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.04517, allocations: 1.216 MB / 295 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/0.04557, allocations: 400.8 kB / 295.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002015/0.04758, allocations: 1.697 MB / 297.1 MB, free: 8.848 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.04761, allocations: 46.39 kB / 297.2 MB, free: 8.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 2.464e-06/0.04761, allocations: 0 / 297.2 MB, free: 8.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.002428/0.05004, allocations: 1.462 MB / 298.6 MB, free: 7.316 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.05008, allocations: 94.11 kB / 298.7 MB, free: 7.207 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008165/0.0509, allocations: 1.103 MB / 299.8 MB, free: 6.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.05094, allocations: 49.64 kB / 299.9 MB, free: 6.035 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005717/0.05151, allocations: 1.303 MB / 301.2 MB, free: 4.719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.05171, allocations: 388.8 kB / 301.6 MB, free: 4.336 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.05192, allocations: 244.4 kB / 301.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.05207, allocations: 0.555 MB / 302.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.05225, allocations: 130.5 kB / 302.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.05261, allocations: 0.5451 MB / 303 MB, free: 2.695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/0.05323, allocations: 0.7693 MB / 303.8 MB, free: 1.766 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.05323, allocations: 3.938 kB / 303.8 MB, free: 1.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001353/0.05459, allocations: 1.05 MB / 304.8 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.0546, allocations: 8 kB / 304.8 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.05461, allocations: 8 kB / 304.9 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006067/0.05522, allocations: 363.2 kB / 305.2 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.0556, allocations: 203.6 kB / 305.4 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/0.0589, allocations: 5.645 MB / 311.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006265/0.05952, allocations: 119.1 kB / 311.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.05957, allocations: 35.98 kB / 311.2 MB, free: 10.09 MB / 298.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.0003895/0.05996, allocations: 224.3 kB / 311.4 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.06012, allocations: 175.1 kB / 311.6 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009736/0.06109, allocations: 0.8829 MB / 312.5 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.0611, allocations: 11.94 kB / 312.5 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.0611, allocations: 16 kB / 312.5 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.06111, allocations: 3.984 kB / 312.5 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/0.06391, allocations: 2.803 MB / 315.3 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.06392, allocations: 7.984 kB / 315.3 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.06417, allocations: 119.8 kB / 315.4 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000621/0.06479, allocations: 367.4 kB / 315.8 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.395e-05/0.06485, allocations: 35.98 kB / 315.8 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003594/0.06844, allocations: 5.64 MB / 321.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.06845, allocations: 7.984 kB / 321.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.06965, allocations: 1.334 MB / 322.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.06978, allocations: 154.8 kB / 323 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.898e-05/0.06987, allocations: 27.98 kB / 323 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.07018, allocations: 59.97 kB / 323.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.07031, allocations: 104.8 kB / 323.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.07034, allocations: 23.94 kB / 323.2 MB, free: 13.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004197/0.07076, allocations: 0.5988 MB / 323.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.07076, allocations: 0 / 323.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001168/0.07193, allocations: 0.6852 MB / 324.5 MB, free: 12.43 MB / 314.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.00021/0.07214, allocations: 151 kB / 324.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.07353, allocations: 1.152 MB / 325.8 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.07354, allocations: 4 kB / 325.8 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007275/0.07426, allocations: 0.8826 MB / 326.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007746/0.07504, allocations: 296.6 kB / 326.9 MB, free: 9.871 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.07914, allocations: 3.961 MB / 330.9 MB, free: 5.812 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005683/0.07971, allocations: 0.7613 MB / 331.7 MB, free: 5.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003616/0.08007, allocations: 166.8 kB / 331.8 MB, free: 4.852 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/0.08056, allocations: 370 kB / 332.2 MB, free: 4.488 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.08056, allocations: 0 / 332.2 MB, free: 4.488 MB / 314.7 MB Notification: Performance of Templates: time 0.1197/0.2002, allocations: 21.89 MB / 354.1 MB, free: 91.56 MB / 330.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] 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","",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.1505397320725024]