Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002223/0.002223, allocations: 195.9 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 226.6 MB / 244.3 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007935/0.0007935, allocations: 93.42 kB / 296.4 MB, free: 7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002307/0.0002309, allocations: 8 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2, allocations: 51.29 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.004896/0.2049, allocations: 6.779 MB / 414.3 MB, free: 21.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.2078, allocations: 2.269 MB / 416.5 MB, free: 18.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004484/0.2082, allocations: 51.81 kB / 416.6 MB, free: 18.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004938/0.2087, allocations: 314 kB / 416.9 MB, free: 18.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.2099, allocations: 0.731 MB / 417.6 MB, free: 17.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.2104, allocations: 283.5 kB / 417.9 MB, free: 17.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002011/0.2124, allocations: 3.233 MB / 421.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.2139, allocations: 2.004 MB / 423.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007226/0.2147, allocations: 1.012 MB / 424.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009221/0.2156, allocations: 1.323 MB / 425.5 MB, free: 9.773 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.2158, allocations: 152 kB / 425.6 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005077/0.2163, allocations: 283.8 kB / 425.9 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003179/0.2166, allocations: 0.6306 MB / 426.5 MB, free: 8.715 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002789/0.2169, allocations: 0.5471 MB / 427.1 MB, free: 8.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001967/0.2189, allocations: 3.753 MB / 430.8 MB, free: 4.398 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2189, allocations: 4 kB / 430.8 MB, free: 4.395 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2189, allocations: 3.938 kB / 430.8 MB, free: 4.391 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.545e-05/0.2189, allocations: 0 / 430.8 MB, free: 4.391 MB / 298.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.005044/0.224, allocations: 3.161 MB / 434 MB, free: 1.168 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.224, allocations: 8.031 kB / 434 MB, free: 1.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003262/0.2273, allocations: 0.7615 MB / 434.8 MB, free: 404 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.2296, allocations: 1.709 MB / 436.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.2297, allocations: 197.3 kB / 436.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003236/0.2301, allocations: 268 kB / 436.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005256/0.2353, allocations: 3.595 MB / 440.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/0.2354, allocations: 4 kB / 440.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002238/0.2356, allocations: 108 kB / 440.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.2357, allocations: 105.4 kB / 440.7 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00473/0.2405, allocations: 3.105 MB / 443.8 MB, free: 7.188 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01373/0.2542, allocations: 10.4 MB / 454.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004708/0.2589, allocations: 4.569 MB / 458.8 MB, free: 7.215 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.2605, allocations: 0.9576 MB / 459.8 MB, free: 6.254 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004694/0.2652, allocations: 2.651 MB / 462.4 MB, free: 3.461 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.647e-05/0.2653, allocations: 47.44 kB / 462.5 MB, free: 3.402 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 4.078e-06/0.2653, allocations: 4 kB / 462.5 MB, free: 3.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.007992/0.2733, allocations: 2.774 MB / 465.3 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.036e-05/0.2734, allocations: 89.98 kB / 465.3 MB, free: 480 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.2754, allocations: 1.367 MB / 466.7 MB, free: 15.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.011e-05/0.2755, allocations: 41.7 kB / 466.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007536/0.2762, allocations: 1.172 MB / 467.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/0.2765, allocations: 358.8 kB / 468.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.427e-05/0.2766, allocations: 28 kB / 468.3 MB, free: 13.47 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.2767, allocations: 357.9 kB / 468.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009122/0.2777, allocations: 0.5686 MB / 469.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.2787, allocations: 0.8567 MB / 470.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.2798, allocations: 0.7069 MB / 470.8 MB, free: 10.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.2798, allocations: 4 kB / 470.8 MB, free: 10.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003101/0.283, allocations: 1.98 MB / 472.8 MB, free: 8.871 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.283, allocations: 8 kB / 472.8 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.283, allocations: 8 kB / 472.8 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009279/0.2839, allocations: 412 kB / 473.2 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007871/0.2847, allocations: 215.6 kB / 473.4 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006474/0.2912, allocations: 5.982 MB / 479.4 MB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008962/0.2922, allocations: 146.7 kB / 479.5 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.2923, allocations: 52 kB / 479.6 MB, free: 1.789 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001344/0.2936, allocations: 0.8682 MB / 480.4 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002844/0.2939, allocations: 134.4 kB / 480.6 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00271/0.2966, allocations: 1.663 MB / 482.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.2966, allocations: 12 kB / 482.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.2967, allocations: 8 kB / 482.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.2967, allocations: 7.969 kB / 482.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005773/0.3025, allocations: 3.938 MB / 486.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3025, allocations: 192 / 486.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/0.303, allocations: 143.8 kB / 486.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008337/0.3039, allocations: 389.8 kB / 486.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.202e-05/0.304, allocations: 31.98 kB / 486.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006114/0.3101, allocations: 5.972 MB / 492.7 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3101, allocations: 4.031 kB / 492.7 MB, free: 4.246 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003464/0.3136, allocations: 2.5 MB / 495.2 MB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.3139, allocations: 243.2 kB / 495.5 MB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.3141, allocations: 31.98 kB / 495.5 MB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007719/0.3149, allocations: 111.8 kB / 495.6 MB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.3151, allocations: 88.73 kB / 495.7 MB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.781e-05/0.3152, allocations: 31.98 kB / 495.7 MB, free: 1.188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001251/0.3164, allocations: 0.9595 MB / 496.7 MB, free: 228 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3164, allocations: 0 / 496.7 MB, free: 228 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001643/0.3181, allocations: 0.6727 MB / 497.4 MB, free: 15.54 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002683/0.3184, allocations: 154.3 kB / 497.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00271/0.3211, allocations: 1.796 MB / 499.3 MB, free: 13.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3211, allocations: 0 / 499.3 MB, free: 13.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00165/0.3228, allocations: 1.153 MB / 0.4887 GB, free: 12.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.3242, allocations: 296.7 kB / 0.489 GB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007355/0.3315, allocations: 5.517 MB / 0.4944 GB, free: 6.516 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.3332, allocations: 2.128 MB / 0.4965 GB, free: 4.355 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.3335, allocations: 91.42 kB / 0.4966 GB, free: 4.266 MB / 378.7 MB Notification: Performance of SimCode: time 7.12e-07/0.3335, allocations: 0 / 0.4966 GB, free: 4.266 MB / 378.7 MB Notification: Performance of Templates: time 0.2116/0.5451, allocations: 52.5 MB / 0.5478 GB, free: 50.26 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches