Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 110.6 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.3 MB / 246.9 MB, free: 10.68 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 63.3 kB / 306.9 MB, free: 1.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08188/0.08302, allocations: 50.54 MB / 357.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008332/0.09138, allocations: 7.771 MB / 365.2 MB, free: 6.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004297/0.0957, allocations: 2.464 MB / 367.7 MB, free: 4.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.09688, allocations: 55.75 kB / 367.7 MB, free: 4.125 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.09815, allocations: 386 kB / 368.1 MB, free: 3.746 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.1004, allocations: 0.7893 MB / 368.9 MB, free: 2.953 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009544/0.1013, allocations: 365.6 kB / 369.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1462/0.2475, allocations: 3.537 MB / 372.8 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002844/0.2504, allocations: 2.428 MB / 375.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.2519, allocations: 1.221 MB / 376.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.2536, allocations: 1.626 MB / 378.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003863/0.254, allocations: 237.7 kB / 378.3 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008147/0.2549, allocations: 369.1 kB / 378.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006024/0.2555, allocations: 0.7668 MB / 379.4 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.2569, allocations: 1.48 MB / 380.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003453/0.2603, allocations: 3.855 MB / 384.8 MB, free: 6.789 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2604, allocations: 1.5 kB / 384.8 MB, free: 6.789 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2604, allocations: 0 / 384.8 MB, free: 6.789 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.575e-05/0.2605, allocations: 0 / 384.8 MB, free: 6.789 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.008143/0.2686, allocations: 3.654 MB / 388.4 MB, free: 4.902 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2687, allocations: 9.031 kB / 388.4 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003903/0.2726, allocations: 0.7461 MB / 389.2 MB, free: 4.613 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/0.2755, allocations: 1.786 MB / 391 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.2757, allocations: 197 kB / 391.2 MB, free: 3.375 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003825/0.2761, allocations: 257.4 kB / 391.4 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005419/0.2815, allocations: 3.625 MB / 395 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.58e-05/0.2816, allocations: 10.61 kB / 395 MB, free: 1.172 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/0.2818, allocations: 106.4 kB / 395.1 MB, free: 1.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-05/0.2819, allocations: 108.6 kB / 395.3 MB, free: 1.074 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00443/0.2863, allocations: 3.093 MB / 398.3 MB, free: 15.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01468/0.301, allocations: 10.33 MB / 408.7 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004346/0.3054, allocations: 4.564 MB / 413.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.3067, allocations: 0.9446 MB / 414.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003652/0.3104, allocations: 2.658 MB / 416.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.3104, allocations: 45.22 kB / 416.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.916e-06/0.3104, allocations: 0 / 416.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.005671/0.3161, allocations: 2.657 MB / 419.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.3161, allocations: 85.98 kB / 419.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.3179, allocations: 1.4 MB / 421 MB, free: 8.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.07e-05/0.318, allocations: 45.7 kB / 421.1 MB, free: 8.668 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006858/0.3187, allocations: 1.179 MB / 422.3 MB, free: 7.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.3189, allocations: 355.8 kB / 422.6 MB, free: 7.137 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003137/0.3193, allocations: 218.8 kB / 422.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3194, allocations: 357.9 kB / 423.2 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008568/0.3203, allocations: 0.5686 MB / 423.7 MB, free: 5.992 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.3214, allocations: 0.8482 MB / 424.6 MB, free: 5.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/0.3234, allocations: 1.456 MB / 426 MB, free: 3.492 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.3234, allocations: 4 kB / 426 MB, free: 3.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00303/0.3264, allocations: 1.967 MB / 428 MB, free: 1.574 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3264, allocations: 8 kB / 428 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.3265, allocations: 12 kB / 428 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009143/0.3274, allocations: 402.5 kB / 428.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007727/0.3282, allocations: 210.7 kB / 428.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006735/0.3349, allocations: 5.986 MB / 434.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009921/0.3359, allocations: 142.6 kB / 434.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.336, allocations: 47.98 kB / 434.8 MB, free: 10.57 MB / 350.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.001471/0.3375, allocations: 0.8744 MB / 435.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/0.3379, allocations: 138.3 kB / 435.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003082/0.3409, allocations: 1.649 MB / 437.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.341, allocations: 15.94 kB / 437.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.341, allocations: 11.94 kB / 437.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.341, allocations: 11.91 kB / 437.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007142/0.3482, allocations: 3.921 MB / 441.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3482, allocations: 0 / 441.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005887/0.3488, allocations: 138.4 kB / 441.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000942/0.3497, allocations: 389.6 kB / 441.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.654e-05/0.3498, allocations: 31.97 kB / 442 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007103/0.3569, allocations: 5.962 MB / 447.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.357, allocations: 8.031 kB / 447.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00399/0.361, allocations: 2.485 MB / 450.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005501/0.3615, allocations: 247.2 kB / 450.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003479/0.3619, allocations: 24 kB / 450.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009349/0.3628, allocations: 91.91 kB / 450.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.3631, allocations: 92.67 kB / 450.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.31e-05/0.3632, allocations: 35.98 kB / 450.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001634/0.3648, allocations: 0.983 MB / 451.9 MB, free: 9.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3648, allocations: 0 / 451.9 MB, free: 9.176 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002114/0.3669, allocations: 0.6727 MB / 452.6 MB, free: 8.5 MB / 366.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.0003166/0.3673, allocations: 157.4 kB / 452.7 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003035/0.3703, allocations: 1.775 MB / 454.5 MB, free: 6.574 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3703, allocations: 0 / 454.5 MB, free: 6.574 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001799/0.3721, allocations: 1.131 MB / 455.6 MB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.3739, allocations: 294.8 kB / 455.9 MB, free: 5.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009124/0.383, allocations: 5.719 MB / 461.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002019/0.3851, allocations: 2.136 MB / 463.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004174/0.3855, allocations: 95.42 kB / 463.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3855, allocations: 0 / 463.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of Templates: time 0.05987/0.4454, allocations: 53.12 MB / 0.5048 GB, free: 8.086 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches