Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002354/0.002354, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 51.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3802, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01014/0.3903, allocations: 6.949 MB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006962/0.3973, allocations: 2.375 MB / 441.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.3988, allocations: 71.56 kB / 441.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.4, allocations: 464.8 kB / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003018/0.403, allocations: 0.8626 MB / 443 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.4041, allocations: 398.2 kB / 443.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004499/0.4086, allocations: 3.257 MB / 446.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002364/0.411, allocations: 1.576 MB / 448.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.4132, allocations: 1.46 MB / 449.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002572/0.4157, allocations: 1.72 MB / 451.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005903/0.4163, allocations: 356 kB / 451.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.4175, allocations: 487.9 kB / 452.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009031/0.4184, allocations: 0.9076 MB / 453.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001807/0.4202, allocations: 1.307 MB / 454.5 MB, free: 436 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006152/0.4264, allocations: 4.737 MB / 459.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.4264, allocations: 3.938 kB / 459.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4264, allocations: 0 / 459.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001309/0.4265, allocations: 4 kB / 459.2 MB, free: 11.67 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.01069/0.4372, allocations: 3.644 MB / 462.9 MB, free: 7.977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.4373, allocations: 12.03 kB / 462.9 MB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004407/0.4417, allocations: 0.7445 MB / 463.6 MB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00581/0.4475, allocations: 1.799 MB / 465.4 MB, free: 5.375 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002767/0.4478, allocations: 197.7 kB / 465.6 MB, free: 5.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001315/0.4491, allocations: 268.1 kB / 465.9 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008902/0.458, allocations: 3.848 MB / 469.7 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.668e-05/0.458, allocations: 0 / 469.7 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003069/0.4584, allocations: 108 kB / 469.8 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/0.4585, allocations: 101.4 kB / 469.9 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006838/0.4653, allocations: 3.101 MB / 473 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0215/0.4868, allocations: 8.916 MB / 482 MB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004684/0.4915, allocations: 1.743 MB / 483.7 MB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.4932, allocations: 0.8746 MB / 484.6 MB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005414/0.4986, allocations: 2 MB / 486.6 MB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.789e-05/0.4987, allocations: 43.44 kB / 486.6 MB, free: 15.69 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 5.721e-06/0.4987, allocations: 0 / 486.6 MB, free: 15.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.007152/0.5058, allocations: 2.507 MB / 489.1 MB, free: 13.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.632e-05/0.5059, allocations: 85.98 kB / 489.2 MB, free: 13.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/0.5086, allocations: 1.363 MB / 490.6 MB, free: 11.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001475/0.5087, allocations: 49.69 kB / 490.6 MB, free: 11.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.5099, allocations: 1.203 MB / 491.8 MB, free: 10.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004141/0.5103, allocations: 372.8 kB / 492.2 MB, free: 10.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000404/0.5107, allocations: 218.9 kB / 492.4 MB, free: 9.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.5109, allocations: 357.9 kB / 492.7 MB, free: 9.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.5119, allocations: 0.5647 MB / 493.3 MB, free: 8.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.5131, allocations: 0.8535 MB / 494.2 MB, free: 7.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/0.5153, allocations: 1.459 MB / 495.6 MB, free: 6.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.5154, allocations: 4 kB / 495.6 MB, free: 6.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003722/0.5191, allocations: 1.954 MB / 497.6 MB, free: 4.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.5191, allocations: 8 kB / 497.6 MB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.5191, allocations: 8 kB / 497.6 MB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.5203, allocations: 401.2 kB / 498 MB, free: 4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008602/0.5212, allocations: 219.6 kB / 498.2 MB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008344/0.5295, allocations: 6.194 MB / 0.4926 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.531, allocations: 135.1 kB / 0.4927 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.5311, allocations: 48 kB / 0.4928 GB, free: 13.22 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.002488/0.5336, allocations: 0.8798 MB / 0.4936 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005795/0.5342, allocations: 143.1 kB / 0.4937 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/0.5377, allocations: 1.624 MB / 0.4953 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.5378, allocations: 8 kB / 0.4953 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.5378, allocations: 12 kB / 0.4954 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.5378, allocations: 3.984 kB / 0.4954 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006668/0.5444, allocations: 3.377 MB / 0.4987 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.5444, allocations: 192 / 0.4987 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/0.545, allocations: 139.8 kB / 0.4988 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009877/0.546, allocations: 392.4 kB / 0.4992 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.838e-05/0.5461, allocations: 35.92 kB / 0.4992 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008523/0.5546, allocations: 6.163 MB / 0.5052 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5546, allocations: 0 / 0.5052 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005196/0.5598, allocations: 2.482 MB / 0.5076 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000755/0.5606, allocations: 170.8 kB / 0.5078 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.5608, allocations: 27.94 kB / 0.5078 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008478/0.5616, allocations: 95.91 kB / 0.5079 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003277/0.5619, allocations: 96.62 kB / 0.508 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.5621, allocations: 35.98 kB / 0.508 GB, free: 13.22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001731/0.5638, allocations: 0.9435 MB / 0.509 GB, free: 12.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5638, allocations: 4 kB / 0.509 GB, free: 12.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002878/0.5667, allocations: 0.6891 MB / 0.5096 GB, free: 11.57 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.0005201/0.5672, allocations: 159 kB / 0.5098 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004101/0.5713, allocations: 1.733 MB / 0.5115 GB, free: 9.641 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/0.5713, allocations: 0 / 0.5115 GB, free: 9.641 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/0.5736, allocations: 1.093 MB / 0.5126 GB, free: 8.523 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.5757, allocations: 288.4 kB / 0.5128 GB, free: 8.242 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.5867, allocations: 4.687 MB / 0.5174 GB, free: 3.492 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002378/0.589, allocations: 1.625 MB / 0.519 GB, free: 1.824 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001337/0.5904, allocations: 334.7 kB / 0.5193 GB, free: 1.492 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.5906, allocations: 87.42 kB / 0.5194 GB, free: 1.406 MB / 430.1 MB Notification: Performance of SimCode: time 2.645e-06/0.5906, allocations: 0 / 0.5194 GB, free: 1.406 MB / 430.1 MB Notification: Performance of Templates: time 0.4124/1.003, allocations: 23.83 MB / 0.5427 GB, free: 100.5 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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 [Calling sys.exit(0), Time elapsed: 7.106941398000345]