Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.001742/0.001742, allocations: 73.88 kB / 21.24 MB, free: 0.5547 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.001992/0.001992, allocations: 150.6 kB / 24.49 MB, free: 3.723 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.445/1.445, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 178] 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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 47.36 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.106, allocations: 52.17 MB / 371.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01791/0.1239, allocations: 14.29 MB / 385.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009329/0.1332, allocations: 4.505 MB / 390.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.1357, allocations: 163.2 kB / 390.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02048/0.1562, allocations: 7.067 MB / 397.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008024/0.1642, allocations: 2.001 MB / 399.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004001/0.1682, allocations: 1.505 MB / 401.1 MB, free: 9.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.012/0.1803, allocations: 9.532 MB / 410.7 MB, free: 128 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02174/0.202, allocations: 13.45 MB / 424.1 MB, free: 2.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007362/0.2094, allocations: 5.397 MB / 429.5 MB, free: 13.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009622/0.219, allocations: 5.801 MB / 435.3 MB, free: 7.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003386/0.2224, allocations: 1.359 MB / 436.7 MB, free: 5.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004838/0.2272, allocations: 1.632 MB / 438.3 MB, free: 4.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004081/0.2313, allocations: 2.794 MB / 441.1 MB, free: 1.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007587/0.2389, allocations: 4.187 MB / 445.3 MB, free: 13.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02203/0.2609, allocations: 18.49 MB / 463.8 MB, free: 10.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2609, allocations: 0 / 463.8 MB, free: 10.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.2609, allocations: 0 / 463.8 MB, free: 10.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004515/0.2614, allocations: 0 / 463.8 MB, free: 10.74 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.3729/0.6343, allocations: 12.24 MB / 476 MB, free: 79.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.6343, allocations: 11.28 kB / 476 MB, free: 79.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03541/0.6697, allocations: 6.286 MB / 482.3 MB, free: 78.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0116/0.6813, allocations: 5.91 MB / 488.2 MB, free: 76.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004844/0.6818, allocations: 0.6708 MB / 488.9 MB, free: 75.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002693/0.6845, allocations: 0.8782 MB / 489.8 MB, free: 75.67 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02743/0.7119, allocations: 14.93 MB / 0.4929 GB, free: 61.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000321/0.7122, allocations: 7.953 kB / 0.4929 GB, free: 61.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002317/0.7146, allocations: 379.5 kB / 0.4932 GB, free: 61.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003727/0.7149, allocations: 0.4914 MB / 0.4937 GB, free: 60.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02204/0.737, allocations: 13.47 MB / 0.5069 GB, free: 47.17 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05634/0.7933, allocations: 38.51 MB / 0.5445 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008714/0.802, allocations: 5.95 MB / 0.5503 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003672/0.8057, allocations: 2.855 MB / 0.5531 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003599/0.8061, allocations: 83.94 kB / 0.5532 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.253e-05/0.8061, allocations: 78.56 kB / 0.5532 GB, free: 15.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.184e-06/0.8061, allocations: 0 / 0.5532 GB, free: 15.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.02284/0.829, allocations: 9.401 MB / 0.5624 GB, free: 6.199 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.244e-05/0.8291, allocations: 121.1 kB / 0.5625 GB, free: 6.062 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005746/0.8348, allocations: 3.233 MB / 0.5657 GB, free: 2.895 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004276/0.8353, allocations: 89.69 kB / 0.5658 GB, free: 2.801 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002898/0.8381, allocations: 3.824 MB / 0.5695 GB, free: 14.97 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001626/0.8398, allocations: 1.464 MB / 0.5709 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0023/0.8421, allocations: 1.128 MB / 0.572 GB, free: 12.35 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.8422, allocations: 301.1 kB / 0.5723 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00466/0.8469, allocations: 2.838 MB / 0.5751 GB, free: 9.211 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006424/0.8533, allocations: 4.908 MB / 0.5799 GB, free: 3.359 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/0.8646, allocations: 8.255 MB / 0.5879 GB, free: 10.17 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.873e-05/0.8647, allocations: 20 kB / 0.588 GB, free: 10.15 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01571/0.8804, allocations: 9.073 MB / 0.5968 GB, free: 1.066 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.31e-05/0.8804, allocations: 39.98 kB / 0.5969 GB, free: 1.027 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.752e-05/0.8805, allocations: 64 kB / 0.5969 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00338/0.8839, allocations: 1.153 MB / 0.5981 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004473/0.8884, allocations: 1.291 MB / 0.5993 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01555/0.9039, allocations: 10.38 MB / 0.6094 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003989/0.9079, allocations: 0.7492 MB / 0.6102 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005794/0.9085, allocations: 280 kB / 0.6104 GB, free: 2.902 MB / 494.1 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.005217/0.9137, allocations: 3.423 MB / 0.6138 GB, free: 15.46 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006783/0.9144, allocations: 365.6 kB / 0.6141 GB, free: 15.11 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/0.9264, allocations: 6.87 MB / 0.6208 GB, free: 8.207 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009398/0.9358, allocations: 5.705 MB / 0.6264 GB, free: 2.488 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.187e-05/0.9358, allocations: 12 kB / 0.6264 GB, free: 2.477 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.903e-05/0.9358, allocations: 19.92 kB / 0.6265 GB, free: 2.457 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02302/0.9588, allocations: 13.42 MB / 0.6396 GB, free: 4.797 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/0.9589, allocations: 12 kB / 0.6396 GB, free: 4.785 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00313/0.962, allocations: 0.7957 MB / 0.6403 GB, free: 3.988 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003475/0.9655, allocations: 1.052 MB / 0.6414 GB, free: 2.93 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00031/0.9658, allocations: 108 kB / 0.6415 GB, free: 2.824 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01576/0.9815, allocations: 10.15 MB / 0.6514 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-05/0.9816, allocations: 23.81 kB / 0.6514 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01745/0.999, allocations: 10.67 MB / 0.6618 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003433/1.002, allocations: 0.9532 MB / 0.6628 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008018/1.003, allocations: 95.98 kB / 0.6629 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002406/1.006, allocations: 275.7 kB / 0.6631 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007079/1.006, allocations: 355.1 kB / 0.6635 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003053/1.007, allocations: 148 kB / 0.6636 GB, free: 11.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003182/1.01, allocations: 2.089 MB / 0.6656 GB, free: 9.633 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.01, allocations: 0 / 0.6656 GB, free: 9.633 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006258/1.016, allocations: 2.258 MB / 0.6678 GB, free: 7.367 MB / 0.545 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.0007682/1.017, allocations: 302.2 kB / 0.6681 GB, free: 7.062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.1905/1.207, allocations: 7.138 MB / 0.6751 GB, free: 190.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-05/1.207, allocations: 2.938 kB / 0.6751 GB, free: 190.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006408/1.214, allocations: 3.412 MB / 0.6784 GB, free: 190.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004062/1.218, allocations: 0.7834 MB / 0.6792 GB, free: 190.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02325/1.241, allocations: 16.32 MB / 0.6951 GB, free: 184.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005265/1.246, allocations: 5.47 MB / 0.7005 GB, free: 183.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004617/1.251, allocations: 2.155 MB / 0.7026 GB, free: 183.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009013/1.252, allocations: 324 kB / 0.7029 GB, free: 183.1 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/1.252, allocations: 0 / 0.7029 GB, free: 183.1 MB / 0.545 GB Notification: Performance of Templates: time 0.08061/1.333, allocations: 54.83 MB / 0.7564 GB, free: 130.5 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.283117615967058]