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.001314/0.001314, allocations: 111.8 kB / 16.63 MB, free: 6.953 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.001049/0.001049, allocations: 193.8 kB / 17.55 MB, free: 6.043 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.304/1.304, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 42.67 kB / 300.1 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0913/0.09238, allocations: 49.45 MB / 349.6 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008529/0.1009, allocations: 7.197 MB / 356.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003984/0.105, allocations: 2.141 MB / 358.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.106, allocations: 51.75 kB / 359 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.1073, allocations: 382 kB / 359.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.1099, allocations: 0.8056 MB / 360.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009684/0.1109, allocations: 330.4 kB / 360.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003734/0.1146, allocations: 3.132 MB / 363.6 MB, free: 6.656 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003448/0.1181, allocations: 2.887 MB / 366.5 MB, free: 3.707 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.1199, allocations: 1.417 MB / 367.9 MB, free: 2.285 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.1222, allocations: 1.724 MB / 369.6 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006855/0.1229, allocations: 360 kB / 370 MB, free: 208 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1471/0.27, allocations: 481.7 kB / 370.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009724/0.271, allocations: 0.9087 MB / 371.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00179/0.2728, allocations: 1.607 MB / 373 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004359/0.2772, allocations: 4.619 MB / 377.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2772, allocations: 0.5625 kB / 377.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2772, allocations: 0 / 377.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001045/0.2773, allocations: 3.281 kB / 377.6 MB, free: 13.09 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.008047/0.2854, allocations: 3.627 MB / 381.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2854, allocations: 9.625 kB / 381.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003465/0.2889, allocations: 0.6887 MB / 381.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/0.2914, allocations: 1.743 MB / 383.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.2916, allocations: 197 kB / 383.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003725/0.292, allocations: 265.9 kB / 384.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005656/0.2976, allocations: 3.615 MB / 387.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.355e-05/0.2977, allocations: 4.875 kB / 387.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002625/0.298, allocations: 108.1 kB / 387.8 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.2981, allocations: 110.2 kB / 387.9 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004818/0.3029, allocations: 3.094 MB / 391 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01479/0.3177, allocations: 10.34 MB / 401.4 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004546/0.3223, allocations: 4.581 MB / 406 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.3237, allocations: 0.9487 MB / 406.9 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003787/0.3275, allocations: 2.4 MB / 409.3 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.3275, allocations: 43.44 kB / 409.4 MB, free: 7.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.785e-06/0.3275, allocations: 4 kB / 409.4 MB, free: 7.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006176/0.3337, allocations: 2.646 MB / 412 MB, free: 5.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.3338, allocations: 89.98 kB / 412.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/0.336, allocations: 1.378 MB / 413.5 MB, free: 3.508 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.671e-05/0.3361, allocations: 48.61 kB / 413.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007457/0.3368, allocations: 1.16 MB / 414.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.3372, allocations: 360.5 kB / 415 MB, free: 1.938 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/0.3375, allocations: 218.8 kB / 415.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3377, allocations: 357.9 kB / 415.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009155/0.3386, allocations: 0.5647 MB / 416.2 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.3397, allocations: 0.8485 MB / 417 MB, free: 15.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001963/0.3416, allocations: 1.457 MB / 418.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.3417, allocations: 4 kB / 418.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003749/0.3454, allocations: 1.961 MB / 420.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.3455, allocations: 8 kB / 420.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.3455, allocations: 8 kB / 420.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.3465, allocations: 403.2 kB / 420.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008168/0.3473, allocations: 220.1 kB / 421.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007194/0.3545, allocations: 6.528 MB / 427.6 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.3557, allocations: 146.8 kB / 427.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.3559, allocations: 44 kB / 427.8 MB, free: 4.812 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.001523/0.3574, allocations: 0.874 MB / 428.6 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003898/0.3578, allocations: 142.3 kB / 428.8 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002955/0.3608, allocations: 1.646 MB / 430.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.3608, allocations: 16 kB / 430.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-05/0.3608, allocations: 4 kB / 430.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.3608, allocations: 3.984 kB / 430.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00732/0.3681, allocations: 3.914 MB / 434.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.3682, allocations: 0 / 434.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005946/0.3688, allocations: 135.9 kB / 434.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/0.3699, allocations: 397.6 kB / 434.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.341e-05/0.37, allocations: 27.98 kB / 434.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007197/0.3772, allocations: 6.514 MB / 441.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.3772, allocations: 12.03 kB / 441.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00418/0.3814, allocations: 2.473 MB / 443.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000563/0.382, allocations: 239.3 kB / 444.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003805/0.3824, allocations: 27.98 kB / 444.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.3834, allocations: 87.91 kB / 444.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/0.3837, allocations: 112.3 kB / 444.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.939e-05/0.3838, allocations: 35.98 kB / 444.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001636/0.3854, allocations: 0.9552 MB / 445.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3855, allocations: 0 / 445.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002226/0.3877, allocations: 0.6688 MB / 446 MB, free: 2.238 MB / 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.0003505/0.388, allocations: 161.5 kB / 446.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003411/0.3915, allocations: 1.932 MB / 448.1 MB, free: 164 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.3915, allocations: 0 / 448.1 MB, free: 164 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001823/0.3933, allocations: 1.125 MB / 449.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.3952, allocations: 316 kB / 449.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00896/0.4042, allocations: 5.722 MB / 455.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002528/0.4068, allocations: 2.176 MB / 457.4 MB, free: 6.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001207/0.408, allocations: 343 kB / 457.8 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/0.4084, allocations: 87.42 kB / 457.9 MB, free: 6.309 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4084, allocations: 0 / 457.9 MB, free: 6.309 MB / 366.1 MB Notification: Performance of Templates: time 0.04509/0.4535, allocations: 20.34 MB / 478.2 MB, free: 2.246 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/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