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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 115.5 kB / 17.69 MB, free: 5.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 192 kB / 18.63 MB, free: 4.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 51.14 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1043, allocations: 49.44 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008369/0.1127, allocations: 7.249 MB / 358.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004347/0.1171, allocations: 2.184 MB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007418/0.1179, allocations: 51.81 kB / 361 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009029/0.1188, allocations: 440.9 kB / 361.4 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002043/0.1209, allocations: 0.8858 MB / 362.3 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007433/0.1217, allocations: 363 kB / 362.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003347/0.125, allocations: 3.163 MB / 365.8 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002733/0.1278, allocations: 2.879 MB / 368.7 MB, free: 2.379 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.1293, allocations: 1.414 MB / 370.1 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2008/0.3302, allocations: 1.686 MB / 371.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009382/0.3311, allocations: 363.2 kB / 372.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.3324, allocations: 483.8 kB / 372.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008817/0.3333, allocations: 0.897 MB / 373.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001908/0.3352, allocations: 1.61 MB / 375.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004701/0.3399, allocations: 4.661 MB / 379.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3399, allocations: 0 / 379.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3399, allocations: 1.906 kB / 379.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001205/0.3401, allocations: 2.281 kB / 379.8 MB, free: 12.33 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.009069/0.3491, allocations: 3.619 MB / 383.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.3492, allocations: 9.781 kB / 383.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003764/0.353, allocations: 0.6924 MB / 384.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004308/0.3573, allocations: 1.793 MB / 385.9 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.3575, allocations: 204.1 kB / 386.1 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005967/0.3581, allocations: 262.8 kB / 386.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005914/0.364, allocations: 3.622 MB / 390 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.922e-05/0.3641, allocations: 0 / 390 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/0.3643, allocations: 106.4 kB / 390.1 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.313e-05/0.3644, allocations: 104.1 kB / 390.2 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004626/0.3691, allocations: 3.098 MB / 393.3 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01394/0.383, allocations: 10.23 MB / 403.5 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004688/0.3877, allocations: 4.574 MB / 408.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.3891, allocations: 0.9534 MB / 409.1 MB, free: 8.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004195/0.3933, allocations: 2.394 MB / 411.5 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.3934, allocations: 50.73 kB / 411.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.414e-06/0.3934, allocations: 0 / 411.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.005866/0.3993, allocations: 2.648 MB / 414.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.3993, allocations: 93.97 kB / 414.2 MB, free: 2.938 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.4012, allocations: 1.37 MB / 415.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.782e-05/0.4013, allocations: 45.7 kB / 415.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007549/0.4021, allocations: 1.16 MB / 416.8 MB, free: 340 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/0.4023, allocations: 368.1 kB / 417.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/0.4027, allocations: 214.8 kB / 417.4 MB, free: 15.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4028, allocations: 365.6 kB / 417.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008452/0.4037, allocations: 0.5594 MB / 418.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.4047, allocations: 0.8479 MB / 419.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.4067, allocations: 1.456 MB / 420.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.4067, allocations: 4 kB / 420.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003239/0.4099, allocations: 1.961 MB / 422.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.41, allocations: 9.562 kB / 422.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.41, allocations: 8 kB / 422.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009487/0.411, allocations: 403.2 kB / 423 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007864/0.4117, allocations: 221.8 kB / 423.2 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007491/0.4193, allocations: 6.518 MB / 429.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.4204, allocations: 138.8 kB / 429.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.434e-05/0.4205, allocations: 47.98 kB / 429.9 MB, free: 2.871 MB / 334.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.001587/0.4221, allocations: 0.8723 MB / 430.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003294/0.4225, allocations: 138.2 kB / 430.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.4253, allocations: 1.65 MB / 432.6 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.4254, allocations: 12 kB / 432.6 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.4254, allocations: 7.625 kB / 432.6 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.4254, allocations: 3.984 kB / 432.6 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006574/0.432, allocations: 3.915 MB / 436.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.432, allocations: 0 / 436.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005652/0.4326, allocations: 138.8 kB / 436.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009035/0.4335, allocations: 401.1 kB / 437 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.042e-05/0.4336, allocations: 27.98 kB / 437 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006955/0.4405, allocations: 6.503 MB / 443.6 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.4406, allocations: 11.59 kB / 443.6 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003792/0.4444, allocations: 2.478 MB / 446 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005691/0.4449, allocations: 243.3 kB / 446.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.4451, allocations: 24 kB / 446.3 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/0.4459, allocations: 87.91 kB / 446.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.4462, allocations: 104 kB / 446.5 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.222e-05/0.4462, allocations: 31.98 kB / 446.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001336/0.4476, allocations: 0.963 MB / 447.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4476, allocations: 0 / 447.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001929/0.4495, allocations: 0.6727 MB / 448.2 MB, free: 312 kB / 350.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,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.0003003/0.4498, allocations: 152.7 kB / 448.3 MB, free: 160 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002931/0.4528, allocations: 1.775 MB / 450.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.4528, allocations: 1.188 kB / 450.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001711/0.4545, allocations: 1.133 MB / 451.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.4561, allocations: 307.3 kB / 451.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007208/0.4633, allocations: 4.55 MB / 456.1 MB, free: 8.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001787/0.4651, allocations: 2.172 MB / 458.2 MB, free: 6.125 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00134/0.4665, allocations: 346.9 kB / 458.6 MB, free: 5.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.4668, allocations: 87.42 kB / 458.7 MB, free: 5.699 MB / 366.1 MB Notification: Performance of SimCode: time 3.246e-06/0.4668, allocations: 0 / 458.7 MB, free: 5.699 MB / 366.1 MB Notification: Performance of Templates: time 0.03609/0.5029, allocations: 20.43 MB / 479.1 MB, free: 1.559 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches