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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 68.08 kB / 21.24 MB, free: 0.5391 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.001578/0.001578, allocations: 148.9 kB / 24.49 MB, free: 3.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 179] 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.001685/0.001685, allocations: 46.83 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08441/0.0861, allocations: 52.17 MB / 371.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008919/0.09502, allocations: 6.425 MB / 378 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00447/0.09949, allocations: 2.102 MB / 380.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.1005, allocations: 63.62 kB / 380.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.1016, allocations: 456.9 kB / 380.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.1041, allocations: 0.8937 MB / 381.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008316/0.1049, allocations: 366.3 kB / 381.9 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003762/0.1087, allocations: 3.152 MB / 385 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.1107, allocations: 1.533 MB / 386.5 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.1124, allocations: 1.457 MB / 388 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/0.1148, allocations: 1.705 MB / 389.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005024/0.1153, allocations: 360 kB / 390.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000917/0.1162, allocations: 471.9 kB / 390.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008517/0.117, allocations: 0.9075 MB / 391.4 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.1185, allocations: 1.299 MB / 392.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004694/0.1232, allocations: 4.714 MB / 397.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1232, allocations: 0 / 397.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1232, allocations: 4 kB / 397.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.859e-05/0.1233, allocations: 0 / 397.4 MB, free: 13.3 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.008209/0.1315, allocations: 3.628 MB / 401.1 MB, free: 9.621 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1315, allocations: 8.922 kB / 401.1 MB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003719/0.1352, allocations: 0.7016 MB / 401.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003639/0.1389, allocations: 1.744 MB / 403.5 MB, free: 7.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.1391, allocations: 201.7 kB / 403.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004208/0.1395, allocations: 268.1 kB / 404 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006363/0.1458, allocations: 3.836 MB / 407.8 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-05/0.1459, allocations: 3.938 kB / 407.8 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002705/0.1462, allocations: 112 kB / 407.9 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/0.1463, allocations: 105.4 kB / 408 MB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005351/0.1516, allocations: 3.093 MB / 411.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01531/0.1669, allocations: 8.908 MB / 420 MB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003985/0.1709, allocations: 1.755 MB / 421.8 MB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.1723, allocations: 0.8606 MB / 422.7 MB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003623/0.176, allocations: 1.961 MB / 424.6 MB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.176, allocations: 55.48 kB / 424.7 MB, free: 1.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.735e-06/0.176, allocations: 0 / 424.7 MB, free: 1.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.00655/0.1826, allocations: 2.487 MB / 427.2 MB, free: 14.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.1826, allocations: 98.05 kB / 427.3 MB, free: 14.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.1845, allocations: 1.341 MB / 428.6 MB, free: 13.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.759e-05/0.1845, allocations: 41.7 kB / 428.6 MB, free: 13.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009264/0.1855, allocations: 1.191 MB / 429.8 MB, free: 12.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003271/0.1858, allocations: 380.8 kB / 430.2 MB, free: 11.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003696/0.1862, allocations: 218.9 kB / 430.4 MB, free: 11.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.1864, allocations: 357.9 kB / 430.8 MB, free: 11.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009981/0.1874, allocations: 0.5647 MB / 431.3 MB, free: 10.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.1886, allocations: 0.8527 MB / 432.2 MB, free: 9.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002298/0.1909, allocations: 1.448 MB / 433.6 MB, free: 8.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.1909, allocations: 4 kB / 433.6 MB, free: 8.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00338/0.1943, allocations: 1.946 MB / 435.6 MB, free: 6.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.1943, allocations: 18.33 kB / 435.6 MB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.1943, allocations: 8 kB / 435.6 MB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009593/0.1953, allocations: 400.3 kB / 436 MB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008536/0.1961, allocations: 219.6 kB / 436.2 MB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007878/0.204, allocations: 6.177 MB / 442.4 MB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008217/0.2048, allocations: 147.1 kB / 442.5 MB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.336e-05/0.2049, allocations: 44 kB / 442.6 MB, free: 15.06 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.001327/0.2063, allocations: 0.872 MB / 443.4 MB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/0.2065, allocations: 143.2 kB / 443.6 MB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/0.2095, allocations: 1.635 MB / 445.2 MB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.2095, allocations: 8 kB / 445.2 MB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.2096, allocations: 8 kB / 445.2 MB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.2096, allocations: 3.984 kB / 445.2 MB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005838/0.2154, allocations: 3.36 MB / 448.6 MB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.2154, allocations: 4 kB / 448.6 MB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005996/0.216, allocations: 131.8 kB / 448.7 MB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009261/0.2169, allocations: 396.7 kB / 449.1 MB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.702e-05/0.217, allocations: 35.92 kB / 449.2 MB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007806/0.2248, allocations: 6.173 MB / 455.3 MB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.2248, allocations: 7.969 kB / 455.3 MB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004166/0.229, allocations: 2.466 MB / 457.8 MB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003877/0.2294, allocations: 166.8 kB / 458 MB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.2296, allocations: 28 kB / 458 MB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008456/0.2304, allocations: 95.84 kB / 458.1 MB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/0.2306, allocations: 96.75 kB / 458.2 MB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-05/0.2307, allocations: 35.98 kB / 458.2 MB, free: 15.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001472/0.2322, allocations: 0.923 MB / 459.1 MB, free: 14.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2322, allocations: 0 / 459.1 MB, free: 14.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001899/0.2341, allocations: 0.6891 MB / 459.8 MB, free: 13.47 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.0002818/0.2344, allocations: 162.2 kB / 460 MB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003069/0.2375, allocations: 1.733 MB / 461.7 MB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.2375, allocations: 3.938 kB / 461.7 MB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001884/0.2393, allocations: 1.087 MB / 462.8 MB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.2407, allocations: 292.3 kB / 463.1 MB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007731/0.2485, allocations: 4.646 MB / 467.7 MB, free: 5.422 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001865/0.2503, allocations: 1.604 MB / 469.3 MB, free: 3.777 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000852/0.2512, allocations: 330.6 kB / 469.7 MB, free: 3.449 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.2514, allocations: 96.47 kB / 469.8 MB, free: 3.355 MB / 430.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2514, allocations: 0 / 469.8 MB, free: 3.355 MB / 430.1 MB Notification: Performance of Templates: time 0.1885/0.44, allocations: 20.31 MB / 490.1 MB, free: 83.46 MB / 430.1 MB " [Timeout remaining time 660] 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 -s ida -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 [Calling sys.exit(0), Time elapsed: 5.00451629399322]