Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 103.1 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002462/0.002462, allocations: 189.2 kB / 22.93 MB, free: 5.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=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_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 47.92 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2868, allocations: 49.12 MB / 394.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007528/0.2944, allocations: 7.249 MB / 401.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004702/0.2991, allocations: 2.259 MB / 404 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009817/0.3001, allocations: 44.78 kB / 404.1 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.3011, allocations: 451.9 kB / 404.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.3035, allocations: 0.9023 MB / 405.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008748/0.3044, allocations: 380.5 kB / 405.8 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00385/0.3083, allocations: 3.147 MB / 408.9 MB, free: 100 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.3104, allocations: 1.556 MB / 410.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.3128, allocations: 1.421 MB / 411.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002956/0.3158, allocations: 1.713 MB / 413.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006316/0.3164, allocations: 357.1 kB / 414 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.3176, allocations: 486.3 kB / 414.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009105/0.3185, allocations: 0.8967 MB / 415.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002194/0.3207, allocations: 1.611 MB / 417 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006004/0.3267, allocations: 4.662 MB / 421.6 MB, free: 8.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.3268, allocations: 7.922 kB / 421.6 MB, free: 8.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3268, allocations: 5.312 kB / 421.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001237/0.3269, allocations: 0 / 421.6 MB, free: 8.191 MB / 334.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.009996/0.3369, allocations: 3.69 MB / 425.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3369, allocations: 15.97 kB / 425.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003818/0.3407, allocations: 0.7016 MB / 426 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004105/0.3448, allocations: 1.703 MB / 427.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.345, allocations: 197.7 kB / 427.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006846/0.3457, allocations: 264.1 kB / 428.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007652/0.3534, allocations: 3.614 MB / 431.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.009e-05/0.3534, allocations: 4 kB / 431.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002714/0.3537, allocations: 108 kB / 431.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001151/0.3538, allocations: 105.4 kB / 432 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006221/0.36, allocations: 3.089 MB / 435.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02144/0.3815, allocations: 10.39 MB / 445.5 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005842/0.3873, allocations: 4.587 MB / 450.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/0.3888, allocations: 0.8666 MB / 451 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004368/0.3932, allocations: 2.452 MB / 453.4 MB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/0.3932, allocations: 47.44 kB / 453.5 MB, free: 7.559 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 2.184e-06/0.3932, allocations: 0 / 453.5 MB, free: 7.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.006639/0.3999, allocations: 2.689 MB / 456.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.3999, allocations: 89.98 kB / 456.2 MB, free: 4.711 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.402, allocations: 1.382 MB / 457.6 MB, free: 3.316 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.981e-05/0.402, allocations: 41.7 kB / 457.7 MB, free: 3.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009758/0.403, allocations: 1.203 MB / 458.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003931/0.4034, allocations: 380.7 kB / 459.2 MB, free: 1.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/0.4038, allocations: 214.9 kB / 459.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.404, allocations: 357.9 kB / 459.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009729/0.405, allocations: 0.5764 MB / 460.4 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.4062, allocations: 0.853 MB / 461.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/0.4086, allocations: 1.492 MB / 462.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.4086, allocations: 4 kB / 462.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003552/0.4121, allocations: 1.988 MB / 464.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.4121, allocations: 8 kB / 464.7 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.4121, allocations: 12.19 kB / 464.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.4132, allocations: 409.2 kB / 465.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008255/0.414, allocations: 211.7 kB / 465.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008305/0.4223, allocations: 6.671 MB / 472 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.4233, allocations: 139 kB / 472.1 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.822e-05/0.4234, allocations: 55.98 kB / 472.2 MB, free: 4.172 MB / 382.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.001603/0.425, allocations: 0.8643 MB / 473 MB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/0.4253, allocations: 143.1 kB / 473.2 MB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/0.4284, allocations: 1.652 MB / 474.8 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.4284, allocations: 12 kB / 474.9 MB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.4285, allocations: 8 kB / 474.9 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.4285, allocations: 11.91 kB / 474.9 MB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006893/0.4354, allocations: 3.973 MB / 478.8 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.4354, allocations: 0 / 478.8 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/0.436, allocations: 131.8 kB / 479 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.437, allocations: 413.7 kB / 479.4 MB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-05/0.4371, allocations: 39.97 kB / 479.4 MB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008397/0.4455, allocations: 6.633 MB / 486 MB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4455, allocations: 4.031 kB / 486.1 MB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00427/0.4498, allocations: 2.497 MB / 488.6 MB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004685/0.4503, allocations: 248 kB / 488.8 MB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/0.4505, allocations: 31.98 kB / 488.8 MB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007665/0.4512, allocations: 91.91 kB / 488.9 MB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002571/0.4515, allocations: 96.67 kB / 489 MB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.482e-05/0.4516, allocations: 35.98 kB / 489 MB, free: 2.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001472/0.453, allocations: 0.963 MB / 490 MB, free: 1.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.453, allocations: 4 kB / 490 MB, free: 1.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001926/0.455, allocations: 0.6775 MB / 490.7 MB, free: 1.195 MB / 398.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,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].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.0003002/0.4553, allocations: 155 kB / 490.8 MB, free: 1.035 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002991/0.4583, allocations: 1.762 MB / 492.6 MB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4583, allocations: 64 / 492.6 MB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00184/0.4601, allocations: 1.113 MB / 493.7 MB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.4615, allocations: 300.4 kB / 494 MB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007512/0.469, allocations: 4.687 MB / 498.7 MB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001985/0.471, allocations: 2.18 MB / 0.4891 GB, free: 6.836 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009703/0.472, allocations: 350.9 kB / 0.4895 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/0.4722, allocations: 91.42 kB / 0.4896 GB, free: 6.398 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4722, allocations: 0 / 0.4896 GB, free: 6.398 MB / 414.1 MB Notification: Performance of Templates: time 0.03844/0.5106, allocations: 21.68 MB / 0.5107 GB, free: 0.6797 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.313761402852833]