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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 105.1 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 209.3 kB / 24.54 MB, free: 4.051 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.3 MB / 258 MB, free: 8.258 MB / 206.1 MB
"
[Timeout remaining time 178]
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=4000,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=4000,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") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 71.88 kB / 378.8 MB, free: 2.789 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2481, allocations: 53.36 MB / 432.1 MB, free: 7.07 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01062/0.2587, allocations: 7.915 MB / 440 MB, free: 15.12 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005709/0.2644, allocations: 2.515 MB / 442.6 MB, free: 12.6 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.2659, allocations: 71.56 kB / 442.6 MB, free: 12.53 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001523/0.2674, allocations: 464.9 kB / 443.1 MB, free: 12.07 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003134/0.2706, allocations: 0.882 MB / 444 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.2719, allocations: 403.1 kB / 444.4 MB, free: 10.79 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.004928/0.2768, allocations: 3.256 MB / 447.6 MB, free: 7.523 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002901/0.2797, allocations: 1.582 MB / 449.2 MB, free: 5.883 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002206/0.2819, allocations: 1.46 MB / 450.7 MB, free: 4.418 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002943/0.2848, allocations: 1.724 MB / 452.4 MB, free: 2.688 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0009574/0.2858, allocations: 360 kB / 452.7 MB, free: 2.336 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.2875, allocations: 491.9 kB / 453.2 MB, free: 1.855 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001349/0.2889, allocations: 0.9075 MB / 454.1 MB, free: 0.9453 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002995/0.2919, allocations: 1.614 MB / 455.7 MB, free: 15.32 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.005668/0.2975, allocations: 4.721 MB / 460.5 MB, free: 10.59 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.2975, allocations: 0 / 460.5 MB, free: 10.59 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.393e-06/0.2975, allocations: 0 / 460.5 MB, free: 10.59 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 0.0001478/0.2977, allocations: 0 / 460.5 MB, free: 10.59 MB / 366.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.01063/0.3083, allocations: 3.648 MB / 464.1 MB, free: 6.895 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3084, allocations: 8.031 kB / 464.1 MB, free: 6.887 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004504/0.3129, allocations: 0.7406 MB / 464.9 MB, free: 6.145 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.004042/0.3169, allocations: 1.795 MB / 466.6 MB, free: 4.305 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.3171, allocations: 205.7 kB / 466.8 MB, free: 4.102 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006111/0.3177, allocations: 264.1 kB / 467.1 MB, free: 3.844 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.007273/0.325, allocations: 3.626 MB / 470.7 MB, free: 168 kB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.867e-05/0.325, allocations: 0 / 470.7 MB, free: 168 kB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000306/0.3253, allocations: 108 kB / 470.8 MB, free: 60 kB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/0.3255, allocations: 101.4 kB / 470.9 MB, free: 15.96 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005966/0.3314, allocations: 3.105 MB / 474 MB, free: 12.84 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01822/0.3497, allocations: 10.12 MB / 484.2 MB, free: 2.367 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00423/0.3539, allocations: 1.763 MB / 485.9 MB, free: 0.6133 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.3554, allocations: 0.8723 MB / 486.8 MB, free: 15.73 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.004272/0.3597, allocations: 2.191 MB / 489 MB, free: 13.52 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/0.3597, allocations: 47.44 kB / 489 MB, free: 13.46 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=104): time 2.504e-06/0.3597, allocations: 0 / 489 MB, free: 13.46 MB / 398.1 MB
Notification: Performance of matching and sorting (n=104): time 0.006769/0.3665, allocations: 2.499 MB / 491.5 MB, free: 10.95 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.3665, allocations: 89.98 kB / 491.6 MB, free: 10.84 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002495/0.369, allocations: 1.407 MB / 493 MB, free: 9.426 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.3691, allocations: 45.7 kB / 493.1 MB, free: 9.375 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0009565/0.3701, allocations: 1.207 MB / 494.3 MB, free: 8.156 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003545/0.3705, allocations: 376.8 kB / 494.6 MB, free: 7.785 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003808/0.3708, allocations: 218.9 kB / 494.9 MB, free: 7.566 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001867/0.371, allocations: 357.9 kB / 495.2 MB, free: 7.211 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.3721, allocations: 0.5647 MB / 495.8 MB, free: 6.645 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.3733, allocations: 0.8451 MB / 496.6 MB, free: 5.688 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/0.3757, allocations: 1.459 MB / 498.1 MB, free: 4.117 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.3757, allocations: 4 kB / 498.1 MB, free: 4.113 MB / 398.1 MB
Notification: Performance of matching and sorting (n=152) (initialization): time 0.003573/0.3793, allocations: 1.954 MB / 0.4883 GB, free: 2.145 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.3793, allocations: 8 kB / 0.4883 GB, free: 2.137 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.3793, allocations: 12 kB / 0.4883 GB, free: 2.125 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.3804, allocations: 404.6 kB / 0.4887 GB, free: 1.727 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008281/0.3812, allocations: 215.7 kB / 0.4889 GB, free: 1.516 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008613/0.3898, allocations: 6.335 MB / 0.4951 GB, free: 10.96 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.3909, allocations: 147 kB / 0.4953 GB, free: 10.81 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.391, allocations: 48.06 kB / 0.4953 GB, free: 10.77 MB / 414.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.001578/0.3926, allocations: 0.8759 MB / 0.4962 GB, free: 9.879 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003816/0.3929, allocations: 143.1 kB / 0.4963 GB, free: 9.738 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003363/0.3963, allocations: 1.632 MB / 0.4979 GB, free: 8.094 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.3963, allocations: 11.94 kB / 0.4979 GB, free: 8.082 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/0.3963, allocations: 11.94 kB / 0.4979 GB, free: 8.07 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.3964, allocations: 7.969 kB / 0.4979 GB, free: 8.062 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007956/0.4043, allocations: 3.898 MB / 0.5017 GB, free: 4.082 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.4043, allocations: 4.188 kB / 0.5017 GB, free: 4.078 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006504/0.405, allocations: 135.8 kB / 0.5019 GB, free: 3.945 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/0.406, allocations: 393.4 kB / 0.5022 GB, free: 3.555 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.176e-05/0.4061, allocations: 31.97 kB / 0.5023 GB, free: 3.523 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009324/0.4154, allocations: 6.31 MB / 0.5084 GB, free: 12.99 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.4154, allocations: 0 / 0.5084 GB, free: 12.99 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005094/0.4205, allocations: 2.486 MB / 0.5109 GB, free: 10.46 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0006743/0.4212, allocations: 174.9 kB / 0.511 GB, free: 10.29 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003777/0.4216, allocations: 27.98 kB / 0.511 GB, free: 10.26 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.4226, allocations: 83.92 kB / 0.5111 GB, free: 10.18 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002888/0.4229, allocations: 108.6 kB / 0.5112 GB, free: 10.07 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.423, allocations: 31.98 kB / 0.5113 GB, free: 10.04 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.002044/0.4251, allocations: 0.9834 MB / 0.5122 GB, free: 9.051 MB / 430.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.4251, allocations: 0 / 0.5122 GB, free: 9.051 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.002486/0.4275, allocations: 0.6813 MB / 0.5129 GB, free: 8.367 MB / 430.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.00049/0.428, allocations: 155 kB / 0.513 GB, free: 8.203 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.003645/0.4317, allocations: 1.737 MB / 0.5147 GB, free: 6.438 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.4317, allocations: 0 / 0.5147 GB, free: 6.438 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002082/0.4338, allocations: 1.089 MB / 0.5158 GB, free: 5.324 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.4359, allocations: 300.5 kB / 0.5161 GB, free: 5.031 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009964/0.4459, allocations: 4.693 MB / 0.5207 GB, free: 280 kB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002652/0.4485, allocations: 2.184 MB / 0.5228 GB, free: 14.05 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.001078/0.4496, allocations: 343 kB / 0.5231 GB, free: 13.71 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/0.4499, allocations: 95.42 kB / 0.5232 GB, free: 13.62 MB / 446.1 MB
Notification: Performance of SimCode: time 1.142e-06/0.4499, allocations: 0 / 0.5232 GB, free: 13.62 MB / 446.1 MB
Notification: Performance of Templates: time 0.228/0.6779, allocations: 21.98 MB / 0.5447 GB, free: 95.15 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660]
(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) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.397896498441696]