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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 103.2 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 197.5 kB / 22.76 MB, free: 5.727 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] 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=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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 47.92 kB / 369.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2765, allocations: 52.13 MB / 421.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009689/0.2862, allocations: 7.3 MB / 428.6 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004989/0.2912, allocations: 2.191 MB / 430.8 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.2924, allocations: 51.81 kB / 430.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.2936, allocations: 457 kB / 431.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002801/0.2964, allocations: 0.917 MB / 432.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009612/0.2973, allocations: 359.3 kB / 432.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004321/0.3016, allocations: 3.143 MB / 435.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002823/0.3045, allocations: 2.134 MB / 437.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.3066, allocations: 1.421 MB / 439.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002699/0.3093, allocations: 1.716 MB / 441 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006333/0.31, allocations: 360 kB / 441.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.3111, allocations: 483.9 kB / 441.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000951/0.312, allocations: 0.9114 MB / 442.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002106/0.3142, allocations: 1.602 MB / 444.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0057/0.3199, allocations: 4.684 MB / 449 MB, free: 3.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.3199, allocations: 3.984 kB / 449 MB, free: 3.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3199, allocations: 0 / 449 MB, free: 3.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001002/0.32, allocations: 0 / 449 MB, free: 3.324 MB / 350.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.009061/0.329, allocations: 3.699 MB / 452.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.3291, allocations: 8.031 kB / 452.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003535/0.3326, allocations: 0.7016 MB / 453.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00377/0.3364, allocations: 1.812 MB / 455.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/0.3366, allocations: 197.7 kB / 455.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005461/0.3371, allocations: 264.1 kB / 455.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007016/0.3441, allocations: 3.614 MB / 459.3 MB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.375e-05/0.3442, allocations: 0 / 459.3 MB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002538/0.3444, allocations: 112 kB / 459.4 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000126/0.3446, allocations: 109.4 kB / 459.5 MB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00559/0.3501, allocations: 3.093 MB / 462.6 MB, free: 5.531 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01739/0.3675, allocations: 10.26 MB / 472.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005316/0.3729, allocations: 4.463 MB / 477.3 MB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.3744, allocations: 0.8704 MB / 478.2 MB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004483/0.3789, allocations: 2.394 MB / 480.6 MB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/0.3789, allocations: 47.44 kB / 480.6 MB, free: 2.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.795e-06/0.3789, allocations: 7.938 kB / 480.6 MB, free: 2.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006566/0.3855, allocations: 2.642 MB / 483.3 MB, free: 15.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.009e-05/0.3856, allocations: 89.98 kB / 483.4 MB, free: 15.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.3878, allocations: 1.374 MB / 484.7 MB, free: 14.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.3879, allocations: 49.7 kB / 484.8 MB, free: 14.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009496/0.3888, allocations: 1.187 MB / 486 MB, free: 12.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/0.3892, allocations: 388.7 kB / 486.3 MB, free: 12.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000355/0.3896, allocations: 214.9 kB / 486.6 MB, free: 12.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3897, allocations: 349.9 kB / 486.9 MB, free: 12.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.3907, allocations: 0.5647 MB / 487.5 MB, free: 11.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.3919, allocations: 0.8413 MB / 488.3 MB, free: 10.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/0.3941, allocations: 1.461 MB / 489.8 MB, free: 8.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.3941, allocations: 3.984 kB / 489.8 MB, free: 8.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003515/0.3976, allocations: 1.957 MB / 491.7 MB, free: 6.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.3977, allocations: 8 kB / 491.7 MB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.3977, allocations: 8 kB / 491.7 MB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.3988, allocations: 404.7 kB / 492.1 MB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000833/0.3997, allocations: 219.7 kB / 492.3 MB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008229/0.4079, allocations: 6.525 MB / 498.9 MB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.4091, allocations: 147 kB / 499 MB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.4092, allocations: 47.98 kB / 499.1 MB, free: 15.32 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.001674/0.4109, allocations: 0.8642 MB / 499.9 MB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/0.4112, allocations: 147.2 kB / 0.4883 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/0.4143, allocations: 1.636 MB / 0.4899 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.4143, allocations: 15.94 kB / 0.49 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4143, allocations: 4 kB / 0.49 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.4143, allocations: 7.984 kB / 0.49 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007012/0.4214, allocations: 3.91 MB / 0.4938 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4214, allocations: 4.031 kB / 0.4938 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005715/0.4219, allocations: 127.9 kB / 0.4939 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009823/0.4229, allocations: 394.9 kB / 0.4943 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.285e-05/0.423, allocations: 31.98 kB / 0.4943 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007985/0.431, allocations: 6.518 MB / 0.5007 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.431, allocations: 4.031 kB / 0.5007 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004123/0.4351, allocations: 2.47 MB / 0.5031 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/0.4356, allocations: 251.9 kB / 0.5033 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.4357, allocations: 27.98 kB / 0.5034 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007439/0.4365, allocations: 83.92 kB / 0.5035 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.4367, allocations: 100.7 kB / 0.5035 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.795e-05/0.4368, allocations: 28 kB / 0.5036 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001418/0.4382, allocations: 0.963 MB / 0.5045 GB, free: 13.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4382, allocations: 3.938 kB / 0.5045 GB, free: 13.28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001911/0.4401, allocations: 0.6853 MB / 0.5052 GB, free: 12.59 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.0003177/0.4404, allocations: 147 kB / 0.5053 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003117/0.4435, allocations: 1.734 MB / 0.507 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4435, allocations: 448 / 0.507 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.4454, allocations: 1.094 MB / 0.5081 GB, free: 9.562 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.4469, allocations: 300.3 kB / 0.5084 GB, free: 9.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007569/0.4545, allocations: 4.633 MB / 0.5129 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001923/0.4564, allocations: 2.124 MB / 0.515 GB, free: 2.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/0.4568, allocations: 95.41 kB / 0.5151 GB, free: 2.316 MB / 430.1 MB Notification: Performance of SimCode: time 1.603e-06/0.4568, allocations: 4 kB / 0.5151 GB, free: 2.312 MB / 430.1 MB Notification: Performance of Templates: time 0.287/0.7438, allocations: 52.9 MB / 0.5667 GB, free: 83.46 MB / 446.1 MB [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] [Timeout remaining time 660] Reference file matches