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.001405/0.001405, allocations: 81.27 kB / 20.49 MB, free: 1.211 MB / 14.72 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.001443/0.001443, allocations: 169.9 kB / 23.75 MB, free: 4.23 MB / 14.72 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 1.429/1.429, allocations: 177.1 MB / 203.9 MB, free: 9.207 MB / 190.1 MB " [Timeout remaining time 178] 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 0.002858/0.002858, allocations: 61.95 kB / 324.8 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1115, allocations: 53.38 MB / 378.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02358/0.135, allocations: 14.31 MB / 392.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01439/0.1494, allocations: 4.556 MB / 397 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004352/0.1538, allocations: 159.2 kB / 397.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02429/0.1781, allocations: 7.063 MB / 404.2 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009857/0.1879, allocations: 1.989 MB / 406.2 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006292/0.1942, allocations: 1.506 MB / 407.7 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01872/0.2129, allocations: 9.622 MB / 417.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03369/0.2466, allocations: 13.46 MB / 430.8 MB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01343/0.2601, allocations: 7.973 MB / 438.8 MB, free: 2.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01081/0.2709, allocations: 5.84 MB / 444.6 MB, free: 12.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003932/0.2748, allocations: 1.359 MB / 446 MB, free: 11.58 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006033/0.2808, allocations: 1.656 MB / 447.7 MB, free: 9.922 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005117/0.2859, allocations: 2.794 MB / 450.5 MB, free: 7.121 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008703/0.2946, allocations: 4.187 MB / 454.6 MB, free: 2.918 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02378/0.3184, allocations: 18.5 MB / 473.1 MB, free: 372 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3184, allocations: 0 / 473.1 MB, free: 372 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3184, allocations: 0 / 473.1 MB, free: 372 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005005/0.3189, allocations: 0 / 473.1 MB, free: 372 kB / 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.2465/0.5655, allocations: 12.24 MB / 485.4 MB, free: 74.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.579e-05/0.5655, allocations: 14.05 kB / 485.4 MB, free: 74.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03604/0.6016, allocations: 6.203 MB / 491.6 MB, free: 71.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01404/0.6156, allocations: 5.924 MB / 497.5 MB, free: 65.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007746/0.6164, allocations: 0.6662 MB / 498.2 MB, free: 65.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004012/0.6204, allocations: 0.8863 MB / 499.1 MB, free: 64.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03299/0.6534, allocations: 14.97 MB / 0.502 GB, free: 49.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004312/0.6538, allocations: 11.95 kB / 0.502 GB, free: 49.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002723/0.6565, allocations: 379.3 kB / 0.5024 GB, free: 48.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004147/0.6569, allocations: 0.4953 MB / 0.5028 GB, free: 48.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02373/0.6807, allocations: 13.51 MB / 0.516 GB, free: 34.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06221/0.7429, allocations: 38.57 MB / 0.5537 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01176/0.7547, allocations: 5.961 MB / 0.5595 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005045/0.7597, allocations: 2.867 MB / 0.5623 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004784/0.7602, allocations: 107.9 kB / 0.5624 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.788e-05/0.7603, allocations: 78.56 kB / 0.5625 GB, free: 2.797 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.765e-06/0.7603, allocations: 0 / 0.5625 GB, free: 2.797 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.02239/0.7827, allocations: 9.431 MB / 0.5717 GB, free: 9.359 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.738e-05/0.7827, allocations: 121.1 kB / 0.5718 GB, free: 9.223 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005927/0.7887, allocations: 3.239 MB / 0.575 GB, free: 5.961 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004352/0.7891, allocations: 89.7 kB / 0.5751 GB, free: 5.867 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00299/0.7921, allocations: 3.827 MB / 0.5788 GB, free: 2.004 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001689/0.7938, allocations: 1.464 MB / 0.5802 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002477/0.7963, allocations: 1.14 MB / 0.5814 GB, free: 15.37 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.7964, allocations: 305.1 kB / 0.5816 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004752/0.8011, allocations: 2.841 MB / 0.5844 GB, free: 12.22 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006498/0.8076, allocations: 4.904 MB / 0.5892 GB, free: 6.375 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0118/0.8194, allocations: 8.278 MB / 0.5973 GB, free: 13.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.248e-05/0.8195, allocations: 20 kB / 0.5973 GB, free: 13.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01691/0.8364, allocations: 9.114 MB / 0.6062 GB, free: 4.012 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.667e-05/0.8365, allocations: 36 kB / 0.6063 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/0.8366, allocations: 64 kB / 0.6063 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003437/0.8401, allocations: 1.151 MB / 0.6074 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004678/0.8447, allocations: 1.299 MB / 0.6087 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01636/0.8611, allocations: 10.39 MB / 0.6188 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004896/0.866, allocations: 0.7453 MB / 0.6196 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/0.867, allocations: 280 kB / 0.6198 GB, free: 5.844 MB / 0.4981 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.007151/0.8742, allocations: 3.431 MB / 0.6232 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001258/0.8755, allocations: 361.7 kB / 0.6235 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/0.8894, allocations: 6.87 MB / 0.6302 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01022/0.8996, allocations: 5.721 MB / 0.6358 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-05/0.8997, allocations: 16.25 kB / 0.6358 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.234e-05/0.8997, allocations: 23.91 kB / 0.6359 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02715/0.9268, allocations: 13.46 MB / 0.649 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-05/0.9269, allocations: 16 kB / 0.649 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003211/0.9301, allocations: 0.7957 MB / 0.6498 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003275/0.9334, allocations: 1.056 MB / 0.6508 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003772/0.9337, allocations: 112 kB / 0.6509 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01561/0.9493, allocations: 10.15 MB / 0.6609 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.66e-05/0.9494, allocations: 19.94 kB / 0.6609 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01848/0.9678, allocations: 10.7 MB / 0.6713 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3912/1.359, allocations: 0.9554 MB / 0.6723 GB, free: 182 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009671/1.36, allocations: 97.08 kB / 0.6723 GB, free: 182 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002523/1.363, allocations: 266.5 kB / 0.6726 GB, free: 182 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007485/1.363, allocations: 362.3 kB / 0.6729 GB, free: 182 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003192/1.364, allocations: 152.4 kB / 0.6731 GB, free: 182 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003252/1.367, allocations: 2.089 MB / 0.6751 GB, free: 181.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.367, allocations: 0 / 0.6751 GB, free: 181.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006851/1.374, allocations: 2.254 MB / 0.6773 GB, free: 181.8 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.0007594/1.375, allocations: 293.2 kB / 0.6776 GB, free: 181.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.386, allocations: 7.166 MB / 0.6846 GB, free: 180 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.081e-05/1.386, allocations: 3.625 kB / 0.6846 GB, free: 180 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005196/1.391, allocations: 3.414 MB / 0.6879 GB, free: 178.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003865/1.395, allocations: 0.7854 MB / 0.6887 GB, free: 178.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02719/1.422, allocations: 16.24 MB / 0.7046 GB, free: 169.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007511/1.429, allocations: 5.468 MB / 0.7099 GB, free: 165.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005038/1.435, allocations: 2.152 MB / 0.712 GB, free: 163.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009837/1.435, allocations: 341.7 kB / 0.7123 GB, free: 163.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/1.435, allocations: 4 kB / 0.7123 GB, free: 163.4 MB / 0.545 GB Notification: Performance of Templates: time 0.09522/1.531, allocations: 55.54 MB / 0.7666 GB, free: 109.6 MB / 0.545 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.962900448590517]