Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.0009942/0.0009942, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001031/0.001031, allocations: 159.4 kB / 25.61 MB, free: 8.582 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.9661/0.9661, allocations: 177 MB / 205.9 MB, free: 4.457 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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 274.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.481e-05, allocations: 2.938 kB / 274.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01393/0.01394, allocations: 15.49 MB / 289.6 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007804/0.02175, allocations: 4.643 MB / 294.3 MB, free: 52 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.02312, allocations: 155.4 kB / 294.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006931/0.03005, allocations: 7.455 MB / 301.9 MB, free: 8.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003395/0.03345, allocations: 2.024 MB / 303.9 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.03527, allocations: 1.506 MB / 305.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006588/0.04186, allocations: 9.933 MB / 315.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01377/0.05562, allocations: 13.51 MB / 328.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00883/0.06446, allocations: 7.797 MB / 336.6 MB, free: 5.422 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1314/0.1959, allocations: 5.957 MB / 342.6 MB, free: 32.22 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003148/0.199, allocations: 1.36 MB / 344 MB, free: 32.22 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003202/0.2022, allocations: 1.667 MB / 345.6 MB, free: 32.22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00152/0.2037, allocations: 2.904 MB / 348.5 MB, free: 32.22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004373/0.2081, allocations: 3.649 MB / 352.2 MB, free: 32.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006088/0.2142, allocations: 9.42 MB / 361.6 MB, free: 30.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2142, allocations: 0 / 361.6 MB, free: 30.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.2142, allocations: 1.438 kB / 361.6 MB, free: 30.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001132/0.2143, allocations: 0 / 361.6 MB, free: 30.08 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.01355/0.2279, allocations: 11.96 MB / 373.6 MB, free: 24.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2279, allocations: 11.84 kB / 373.6 MB, free: 24.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0156/0.2435, allocations: 5.794 MB / 379.4 MB, free: 23.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006082/0.2496, allocations: 5.048 MB / 384.4 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.2498, allocations: 0.6714 MB / 385.1 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008588/0.2507, allocations: 0.8806 MB / 386 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007897/0.2586, allocations: 7.419 MB / 393.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.2587, allocations: 10.06 kB / 393.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005816/0.2593, allocations: 373.7 kB / 393.8 MB, free: 9.801 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002421/0.2595, allocations: 0.489 MB / 394.3 MB, free: 9.309 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004315/0.2638, allocations: 3.409 MB / 397.7 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03209/0.2959, allocations: 34.68 MB / 432.3 MB, free: 4.148 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003833/0.2998, allocations: 3.58 MB / 435.9 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.301, allocations: 1.153 MB / 437.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/0.3012, allocations: 135.9 kB / 437.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/0.3013, allocations: 84.45 kB / 437.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=409): time 6.172e-06/0.3013, allocations: 0 / 437.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=409): time 0.008276/0.3095, allocations: 4.847 MB / 442.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.3096, allocations: 125.1 kB / 442.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/0.3123, allocations: 3.037 MB / 445.3 MB, free: 7.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001716/0.3124, allocations: 93.7 kB / 445.4 MB, free: 7.812 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001846/0.3143, allocations: 4.082 MB / 449.5 MB, free: 3.828 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008942/0.3152, allocations: 1.515 MB / 451 MB, free: 2.395 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/0.3164, allocations: 1.308 MB / 452.3 MB, free: 1.184 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3165, allocations: 484.2 kB / 452.8 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008777/0.3174, allocations: 0.6865 MB / 453.5 MB, free: 20 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/0.3197, allocations: 3.82 MB / 457.3 MB, free: 11.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003584/0.3233, allocations: 5.083 MB / 462.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.58e-05/0.3233, allocations: 23.94 kB / 462.4 MB, free: 5.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.00547/0.3288, allocations: 4.807 MB / 467.2 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.3288, allocations: 36 kB / 467.2 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.098e-05/0.3289, allocations: 68 kB / 467.3 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001887/0.3308, allocations: 1.013 MB / 468.3 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/0.3329, allocations: 1.17 MB / 469.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006236/0.3391, allocations: 7.577 MB / 477.1 MB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.341, allocations: 0.5932 MB / 477.6 MB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002739/0.3413, allocations: 240 kB / 477.9 MB, free: 6.105 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001829/0.3431, allocations: 0.5281 MB / 478.4 MB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005428/0.3436, allocations: 493.7 kB / 478.9 MB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004613/0.3483, allocations: 3.522 MB / 482.4 MB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00312/0.3514, allocations: 2.492 MB / 484.9 MB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.3514, allocations: 12 kB / 484.9 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.68e-05/0.3514, allocations: 23.91 kB / 484.9 MB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.3636, allocations: 10.82 MB / 495.8 MB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.3636, allocations: 19.98 kB / 495.8 MB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.365, allocations: 0.6761 MB / 496.4 MB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/0.3669, allocations: 0.9477 MB / 497.4 MB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/0.367, allocations: 116 kB / 497.5 MB, free: 3.492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1382/0.5052, allocations: 7.441 MB / 0.4931 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.5052, allocations: 20.06 kB / 0.4931 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006109/0.5113, allocations: 5.013 MB / 0.498 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009698/0.5123, allocations: 0.7722 MB / 0.4988 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002982/0.5126, allocations: 102.4 kB / 0.4989 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009113/0.5135, allocations: 119.5 kB / 0.499 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003609/0.5138, allocations: 365.7 kB / 0.4993 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/0.514, allocations: 117.1 kB / 0.4995 GB, free: 103.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001121/0.5151, allocations: 1.254 MB / 0.5007 GB, free: 103.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5151, allocations: 0 / 0.5007 GB, free: 103.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004108/0.5192, allocations: 2.264 MB / 0.5029 GB, free: 102.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000438/0.5197, allocations: 292.3 kB / 0.5032 GB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004892/0.5246, allocations: 4.062 MB / 0.5071 GB, free: 102 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.5246, allocations: 4.969 kB / 0.5071 GB, free: 102 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002191/0.5268, allocations: 2.254 MB / 0.5093 GB, free: 101.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.5288, allocations: 0.8136 MB / 0.5101 GB, free: 101.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/0.5431, allocations: 13.24 MB / 0.5231 GB, free: 96.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/0.5448, allocations: 2.497 MB / 0.5255 GB, free: 96.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001556/0.5463, allocations: 0.6429 MB / 0.5261 GB, free: 95.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/0.5477, allocations: 0.9171 MB / 0.527 GB, free: 95.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.933e-06/0.5477, allocations: 0 / 0.527 GB, free: 95.84 MB / 410.7 MB Notification: Performance of Templates: time 0.07531/0.6231, allocations: 61.32 MB / 0.5869 GB, free: 40.45 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/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: 4.6629908587783575]