Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.001243/0.001243, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.00131/0.00131, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.48/1.48, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 43.94 kB / 374.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1081, allocations: 53.33 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2265/0.3346, allocations: 16.68 MB / 444.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.3459, allocations: 4.707 MB / 448.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004373/0.3503, allocations: 161.4 kB / 449 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01838/0.3687, allocations: 7.228 MB / 456.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009136/0.3778, allocations: 1.973 MB / 458.2 MB, free: 9.062 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005033/0.3829, allocations: 1.546 MB / 459.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01656/0.3994, allocations: 9.496 MB / 469.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02819/0.4276, allocations: 16.24 MB / 485.5 MB, free: 6.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01098/0.4386, allocations: 5.343 MB / 490.9 MB, free: 1.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01166/0.4502, allocations: 5.969 MB / 496.8 MB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004557/0.4548, allocations: 1.355 MB / 498.2 MB, free: 9.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007449/0.4622, allocations: 1.664 MB / 499.9 MB, free: 8.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005629/0.4679, allocations: 2.805 MB / 0.4909 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01359/0.4815, allocations: 5.35 MB / 0.4961 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0293/0.5108, allocations: 18.4 MB / 0.5141 GB, free: 13.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.5108, allocations: 0 / 0.5141 GB, free: 13.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5108, allocations: 0 / 0.5141 GB, free: 13.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006035/0.5114, allocations: 0 / 0.5141 GB, free: 13.52 MB / 430.1 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.04098/0.5524, allocations: 12.34 MB / 0.5261 GB, free: 1.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.5524, allocations: 8.031 kB / 0.5261 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03648/0.5889, allocations: 6.202 MB / 0.5322 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01359/0.6025, allocations: 5.86 MB / 0.5379 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006822/0.6032, allocations: 0.6664 MB / 0.5386 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003447/0.6066, allocations: 0.8827 MB / 0.5394 GB, free: 3.395 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03642/0.643, allocations: 14.74 MB / 0.5538 GB, free: 4.598 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002514/0.6433, allocations: 15.95 kB / 0.5538 GB, free: 4.582 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00179/0.6451, allocations: 372 kB / 0.5542 GB, free: 4.219 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005085/0.6456, allocations: 495.3 kB / 0.5547 GB, free: 3.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02849/0.6741, allocations: 13.57 MB / 0.5679 GB, free: 6.133 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08176/0.7558, allocations: 44.7 MB / 0.6116 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2923/1.048, allocations: 11.25 MB / 0.6226 GB, free: 148.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00552/1.054, allocations: 2.862 MB / 0.6253 GB, free: 148.8 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005048/1.054, allocations: 291.9 kB / 0.6256 GB, free: 148.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.075e-05/1.054, allocations: 82.64 kB / 0.6257 GB, free: 148.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=409): time 6.402e-06/1.054, allocations: 0 / 0.6257 GB, free: 148.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=409): time 0.02408/1.078, allocations: 9.589 MB / 0.6351 GB, free: 146.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/1.078, allocations: 120.4 kB / 0.6352 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006206/1.085, allocations: 3.157 MB / 0.6383 GB, free: 145.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005278/1.085, allocations: 94.23 kB / 0.6384 GB, free: 145.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002418/1.088, allocations: 3.837 MB / 0.6421 GB, free: 142.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001369/1.089, allocations: 1.462 MB / 0.6435 GB, free: 141.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001844/1.091, allocations: 1.145 MB / 0.6446 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.224e-05/1.091, allocations: 302.5 kB / 0.6449 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004662/1.095, allocations: 2.843 MB / 0.6477 GB, free: 139.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006844/1.102, allocations: 4.906 MB / 0.6525 GB, free: 135.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009831/1.112, allocations: 8.275 MB / 0.6606 GB, free: 130.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001456/1.112, allocations: 19.19 kB / 0.6606 GB, free: 130.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01588/1.128, allocations: 9.107 MB / 0.6695 GB, free: 127 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.393e-05/1.128, allocations: 35.16 kB / 0.6695 GB, free: 127 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001393/1.128, allocations: 70.59 kB / 0.6696 GB, free: 127 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003207/1.132, allocations: 1.145 MB / 0.6707 GB, free: 126.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005209/1.137, allocations: 1.3 MB / 0.672 GB, free: 126.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/1.15, allocations: 10.82 MB / 0.6826 GB, free: 118.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005258/1.155, allocations: 0.7498 MB / 0.6833 GB, free: 117.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/1.156, allocations: 280 kB / 0.6836 GB, free: 117.3 MB / 0.5137 GB 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.00623/1.162, allocations: 3.428 MB / 0.6869 GB, free: 113.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009905/1.163, allocations: 365.7 kB / 0.6873 GB, free: 113.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/1.174, allocations: 6.877 MB / 0.694 GB, free: 106.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007506/1.181, allocations: 5.726 MB / 0.6996 GB, free: 100.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-05/1.181, allocations: 12 kB / 0.6996 GB, free: 100.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.412e-05/1.181, allocations: 19.92 kB / 0.6996 GB, free: 100.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02435/1.206, allocations: 15.24 MB / 0.7145 GB, free: 85.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/1.206, allocations: 12 kB / 0.7145 GB, free: 85.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002704/1.208, allocations: 0.7957 MB / 0.7153 GB, free: 84.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003012/1.211, allocations: 1.067 MB / 0.7163 GB, free: 83.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003917/1.212, allocations: 112 kB / 0.7164 GB, free: 83.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/1.224, allocations: 10.58 MB / 0.7267 GB, free: 72.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/1.224, allocations: 19.94 kB / 0.7268 GB, free: 72.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/1.238, allocations: 10.7 MB / 0.7372 GB, free: 61.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/1.24, allocations: 1.017 MB / 0.7382 GB, free: 60.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004853/1.24, allocations: 95.98 kB / 0.7383 GB, free: 60.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/1.242, allocations: 271.7 kB / 0.7386 GB, free: 60.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006936/1.243, allocations: 347.2 kB / 0.7389 GB, free: 59.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002488/1.243, allocations: 148 kB / 0.739 GB, free: 59.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002774/1.246, allocations: 2.129 MB / 0.7411 GB, free: 57.67 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/1.246, allocations: 0 / 0.7411 GB, free: 57.67 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006312/1.252, allocations: 2.254 MB / 0.7433 GB, free: 55.41 MB / 0.5137 GB 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.000634/1.253, allocations: 290.4 kB / 0.7436 GB, free: 55.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01047/1.263, allocations: 7.164 MB / 0.7506 GB, free: 47.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.992e-05/1.263, allocations: 4 kB / 0.7506 GB, free: 47.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005612/1.269, allocations: 3.412 MB / 0.7539 GB, free: 44.51 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004892/1.274, allocations: 0.806 MB / 0.7547 GB, free: 43.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02553/1.299, allocations: 15.84 MB / 0.7702 GB, free: 27.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004454/1.304, allocations: 5.75 MB / 0.7758 GB, free: 21.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/1.306, allocations: 403.2 kB / 0.7762 GB, free: 21.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.523e-06/1.306, allocations: 0 / 0.7762 GB, free: 21.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.5531/1.859, allocations: 197.2 MB / 0.9687 GB, free: 53.93 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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: 17.0233377419936]