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.001826/0.001826, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002216/0.002216, allocations: 165.2 kB / 24.5 MB, free: 3.453 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.423/1.423, allocations: 177.1 MB / 204.7 MB, free: 9.035 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.001945/0.001945, allocations: 57.75 kB / 325.5 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08725/0.0892, allocations: 53.38 MB / 378.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.018/0.1072, allocations: 14.32 MB / 393.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.1173, allocations: 4.552 MB / 397.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002677/0.12, allocations: 155.2 kB / 398 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01722/0.1372, allocations: 7.075 MB / 405 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007086/0.1443, allocations: 1.986 MB / 407 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004328/0.1486, allocations: 1.502 MB / 408.5 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01324/0.1619, allocations: 9.618 MB / 418.1 MB, free: 8.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02144/0.1833, allocations: 13.46 MB / 431.6 MB, free: 10.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007944/0.1912, allocations: 5.378 MB / 437 MB, free: 5.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01047/0.2017, allocations: 5.844 MB / 442.8 MB, free: 15.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003494/0.2052, allocations: 1.359 MB / 444.2 MB, free: 13.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005033/0.2102, allocations: 1.648 MB / 445.8 MB, free: 12.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004619/0.2149, allocations: 2.802 MB / 448.6 MB, free: 9.488 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008168/0.223, allocations: 4.187 MB / 452.8 MB, free: 5.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02106/0.2441, allocations: 18.49 MB / 471.3 MB, free: 2.734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2441, allocations: 0 / 471.3 MB, free: 2.734 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2441, allocations: 0 / 471.3 MB, free: 2.734 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003854/0.2445, allocations: 4 kB / 471.3 MB, free: 2.73 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.3557/0.6002, allocations: 12.25 MB / 483.6 MB, free: 74.71 MB / 430.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.6002, allocations: 12.52 kB / 483.6 MB, free: 74.71 MB / 430.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03534/0.6355, allocations: 6.203 MB / 489.8 MB, free: 71.94 MB / 430.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/0.6477, allocations: 5.923 MB / 495.7 MB, free: 66.71 MB / 430.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005487/0.6482, allocations: 0.6736 MB / 496.4 MB, free: 66.05 MB / 430.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003024/0.6513, allocations: 0.8745 MB / 497.2 MB, free: 65.18 MB / 430.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02957/0.6808, allocations: 14.98 MB / 0.5002 GB, free: 50.12 MB / 430.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004193/0.6812, allocations: 7.953 kB / 0.5002 GB, free: 50.12 MB / 430.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002971/0.6842, allocations: 374.8 kB / 0.5006 GB, free: 49.76 MB / 430.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004229/0.6846, allocations: 499.3 kB / 0.5011 GB, free: 49.27 MB / 430.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02441/0.7091, allocations: 13.51 MB / 0.5142 GB, free: 35.73 MB / 430.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06017/0.7692, allocations: 38.58 MB / 0.5519 GB, free: 12.52 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01172/0.7809, allocations: 5.961 MB / 0.5577 GB, free: 6.758 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004859/0.7858, allocations: 2.852 MB / 0.5605 GB, free: 3.898 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004404/0.7862, allocations: 115.9 kB / 0.5606 GB, free: 3.785 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.764e-05/0.7863, allocations: 78.56 kB / 0.5607 GB, free: 3.699 MB / 446.2 MB Notification: Performance of pre-optimization done (n=409): time 7.785e-06/0.7863, allocations: 3.938 kB / 0.5607 GB, free: 3.695 MB / 446.2 MB Notification: Performance of matching and sorting (n=409): time 0.02265/0.809, allocations: 9.427 MB / 0.5699 GB, free: 10.27 MB / 462.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.089e-05/0.8091, allocations: 125 kB / 0.57 GB, free: 10.12 MB / 462.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005362/0.8144, allocations: 3.235 MB / 0.5732 GB, free: 6.867 MB / 462.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0004257/0.8149, allocations: 93.7 kB / 0.5733 GB, free: 6.77 MB / 462.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.002835/0.8177, allocations: 3.827 MB / 0.577 GB, free: 2.906 MB / 462.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.001578/0.8193, allocations: 1.456 MB / 0.5785 GB, free: 1.438 MB / 462.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002239/0.8215, allocations: 1.156 MB / 0.5796 GB, free: 276 kB / 462.2 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.8216, allocations: 301.1 kB / 0.5799 GB, free: 15.97 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004745/0.8264, allocations: 2.841 MB / 0.5826 GB, free: 13.12 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006944/0.8333, allocations: 4.904 MB / 0.5874 GB, free: 7.277 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01334/0.8467, allocations: 8.282 MB / 0.5955 GB, free: 14.05 MB / 494.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000102/0.8468, allocations: 16 kB / 0.5955 GB, free: 14.04 MB / 494.2 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01937/0.8661, allocations: 9.115 MB / 0.6044 GB, free: 4.91 MB / 494.2 MB Notification: Performance of prepare postOptimizeDAE: time 8.204e-05/0.8662, allocations: 36.03 kB / 0.6045 GB, free: 4.875 MB / 494.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001173/0.8663, allocations: 68 kB / 0.6045 GB, free: 4.809 MB / 494.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00356/0.8699, allocations: 1.139 MB / 0.6056 GB, free: 3.664 MB / 494.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004955/0.8749, allocations: 1.299 MB / 0.6069 GB, free: 2.363 MB / 494.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01624/0.8911, allocations: 10.39 MB / 0.6171 GB, free: 7.773 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00452/0.8956, allocations: 0.7415 MB / 0.6178 GB, free: 7.027 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009807/0.8966, allocations: 284 kB / 0.6181 GB, free: 6.75 MB / 0.4982 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.006805/0.9034, allocations: 3.431 MB / 0.6214 GB, free: 3.305 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001348/0.9048, allocations: 361.7 kB / 0.6217 GB, free: 2.949 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/0.9196, allocations: 6.874 MB / 0.6285 GB, free: 12.05 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01177/0.9314, allocations: 5.729 MB / 0.6341 GB, free: 6.305 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-05/0.9315, allocations: 12.25 kB / 0.6341 GB, free: 6.293 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.932e-05/0.9315, allocations: 19.92 kB / 0.6341 GB, free: 6.273 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02853/0.9601, allocations: 13.45 MB / 0.6472 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.094e-05/0.9601, allocations: 12 kB / 0.6472 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003403/0.9635, allocations: 0.7965 MB / 0.648 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003497/0.967, allocations: 1.063 MB / 0.6491 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006821/0.9677, allocations: 112 kB / 0.6492 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01613/0.9838, allocations: 10.15 MB / 0.6591 GB, free: 12.24 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.819e-05/0.9838, allocations: 19.94 kB / 0.6591 GB, free: 12.22 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01983/1.004, allocations: 10.69 MB / 0.6695 GB, free: 1.289 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00318/1.007, allocations: 0.9571 MB / 0.6705 GB, free: 336 kB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001215/1.008, allocations: 95.98 kB / 0.6706 GB, free: 240 kB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2002/1.208, allocations: 269.8 kB / 0.6708 GB, free: 183.3 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001448/1.21, allocations: 365.9 kB / 0.6712 GB, free: 183.3 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006257/1.21, allocations: 149.4 kB / 0.6713 GB, free: 183.3 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.003931/1.214, allocations: 2.089 MB / 0.6733 GB, free: 183.2 MB / 0.5451 GB Notification: Performance of sort global known variables: time 1.6e-07/1.214, allocations: 0 / 0.6733 GB, free: 183.2 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.007465/1.222, allocations: 2.253 MB / 0.6755 GB, free: 183.2 MB / 0.5451 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.001097/1.223, allocations: 290.2 kB / 0.6758 GB, free: 183.1 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.235, allocations: 7.176 MB / 0.6828 GB, free: 181.7 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 2.189e-05/1.235, allocations: 0 / 0.6828 GB, free: 181.7 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.00581/1.241, allocations: 3.425 MB / 0.6862 GB, free: 180.4 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006047/1.247, allocations: 0.7784 MB / 0.6869 GB, free: 180.1 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03553/1.282, allocations: 16.22 MB / 0.7028 GB, free: 171.6 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009751/1.292, allocations: 5.47 MB / 0.7081 GB, free: 167.5 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.008797/1.301, allocations: 2.152 MB / 0.7102 GB, free: 166.1 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/1.302, allocations: 346.1 kB / 0.7106 GB, free: 165.8 MB / 0.5451 GB Notification: Performance of SimCode: time 1.463e-06/1.302, allocations: 0 / 0.7106 GB, free: 165.8 MB / 0.5451 GB Notification: Performance of Templates: time 0.1493/1.452, allocations: 55.54 MB / 0.7648 GB, free: 112.1 MB / 0.5451 GB " [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=480 -s ida -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/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_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.716177418944426]