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.0008678/0.0008678, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0008781/0.0008781, allocations: 161.4 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.8798/0.8798, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..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 9.12e-07/9.12e-07, allocations: 0 / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002e-05/1.093e-05, allocations: 5.266 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.005508/0.005519, allocations: 7.493 MB / 280.9 MB, free: 9.512 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.007973, allocations: 2.549 MB / 283.4 MB, free: 6.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003261/0.008299, allocations: 75.5 kB / 283.5 MB, free: 6.879 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005922/0.008891, allocations: 484.7 kB / 284 MB, free: 6.402 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.01003, allocations: 0.8891 MB / 284.9 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.0105, allocations: 411.1 kB / 285.3 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002154/0.01265, allocations: 3.369 MB / 288.6 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.01381, allocations: 1.591 MB / 290.2 MB, free: 56 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09921/0.113, allocations: 2.44 MB / 292.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/0.1155, allocations: 1.822 MB / 294.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009175/0.1164, allocations: 355.2 kB / 294.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008023/0.1172, allocations: 480.4 kB / 295.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005926/0.1178, allocations: 0.9423 MB / 296.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00093/0.1187, allocations: 1.115 MB / 297.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002032/0.1207, allocations: 2.78 MB / 300.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1207, allocations: 0 / 300.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1207, allocations: 2.312 kB / 300.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.185e-05/0.1208, allocations: 0 / 300.1 MB, free: 15.2 MB / 266.7 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.003445/0.1242, allocations: 3.361 MB / 303.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.1243, allocations: 12.3 kB / 303.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.126, allocations: 0.8571 MB / 304.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.1272, allocations: 1.078 MB / 305.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.218e-05/0.1273, allocations: 196.1 kB / 305.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002399/0.1275, allocations: 264.4 kB / 305.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.1292, allocations: 2.159 MB / 308.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.68e-05/0.1293, allocations: 7.031 kB / 308.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.1294, allocations: 114.9 kB / 308.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.225e-05/0.1295, allocations: 108.5 kB / 308.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008594/0.1303, allocations: 0.612 MB / 308.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005249/0.1356, allocations: 6.326 MB / 315.2 MB, free: 6.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.1368, allocations: 1.08 MB / 316.3 MB, free: 5.023 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.1371, allocations: 344.7 kB / 316.6 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/0.1385, allocations: 1.263 MB / 317.9 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.1385, allocations: 47.56 kB / 318 MB, free: 3.418 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.795e-06/0.1385, allocations: 0 / 318 MB, free: 3.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.002014/0.1405, allocations: 1.269 MB / 319.2 MB, free: 2.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.1405, allocations: 93.67 kB / 319.3 MB, free: 2.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/0.141, allocations: 0.8864 MB / 320.2 MB, free: 1.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/0.141, allocations: 45.7 kB / 320.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.1413, allocations: 1.03 MB / 321.3 MB, free: 308 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.1414, allocations: 375.1 kB / 321.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.1416, allocations: 206.3 kB / 321.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.1417, allocations: 356.2 kB / 322.2 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.1419, allocations: 110.6 kB / 322.3 MB, free: 15.33 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.1421, allocations: 409.2 kB / 322.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/0.1426, allocations: 0.6391 MB / 323.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.1426, allocations: 4 kB / 323.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.0009221/0.1436, allocations: 0.8425 MB / 324.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1436, allocations: 11.94 kB / 324.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1436, allocations: 8 kB / 324.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006012/0.1442, allocations: 351.5 kB / 324.5 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.1446, allocations: 201.3 kB / 324.7 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/0.1474, allocations: 4.363 MB / 329.1 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.1477, allocations: 123.1 kB / 329.2 MB, free: 8.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.126e-05/0.1478, allocations: 39.98 kB / 329.3 MB, free: 8.207 MB / 282.7 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,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002944/0.1481, allocations: 182.1 kB / 329.4 MB, free: 8.031 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.1482, allocations: 123.6 kB / 329.6 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008715/0.1491, allocations: 0.7496 MB / 330.3 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.1491, allocations: 11.98 kB / 330.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.1491, allocations: 8 kB / 330.3 MB, free: 7.152 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.1491, allocations: 3.984 kB / 330.3 MB, free: 7.148 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.1512, allocations: 2.009 MB / 332.3 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1512, allocations: 4 kB / 332.3 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.1514, allocations: 115.2 kB / 332.5 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005624/0.152, allocations: 360.4 kB / 332.8 MB, free: 4.961 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/0.152, allocations: 27.98 kB / 332.8 MB, free: 4.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002755/0.1548, allocations: 4.408 MB / 337.2 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1548, allocations: 0 / 337.2 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.1558, allocations: 1.063 MB / 338.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.1559, allocations: 138.8 kB / 338.4 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.156, allocations: 27.98 kB / 338.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.1564, allocations: 59.97 kB / 338.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.1565, allocations: 92.77 kB / 338.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.1565, allocations: 27.98 kB / 338.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000324/0.1569, allocations: 449.8 kB / 339.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1569, allocations: 0 / 339.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001012/0.1579, allocations: 0.6814 MB / 339.8 MB, free: 13.94 MB / 298.7 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.0001939/0.1581, allocations: 134.8 kB / 339.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009334/0.159, allocations: 0.9831 MB / 340.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.641e-05/0.159, allocations: 16.5 kB / 340.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006088/0.1596, allocations: 0.7267 MB / 341.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007485/0.1604, allocations: 303.3 kB / 341.9 MB, free: 11.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.1641, allocations: 3.86 MB / 345.8 MB, free: 7.922 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.1646, allocations: 0.6208 MB / 346.4 MB, free: 7.266 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003263/0.1649, allocations: 170.9 kB / 346.6 MB, free: 7.094 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004701/0.1653, allocations: 317.1 kB / 346.9 MB, free: 6.785 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1653, allocations: 0 / 346.9 MB, free: 6.785 MB / 298.7 MB Notification: Performance of Templates: time 0.02494/0.1903, allocations: 21.69 MB / 368.6 MB, free: 1.508 MB / 314.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9089868147857487]