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.001518/0.001518, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002042/0.002042, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.59/1.59, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.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.001982/0.001982, allocations: 59.91 kB / 379.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.276, allocations: 53.41 MB / 432.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01951/0.2955, allocations: 16.71 MB / 449.2 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.3069, allocations: 4.731 MB / 453.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003945/0.3108, allocations: 159.2 kB / 454.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01734/0.3281, allocations: 7.252 MB / 461.3 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007455/0.3356, allocations: 2.032 MB / 463.3 MB, free: 7.738 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004665/0.3403, allocations: 1.584 MB / 464.9 MB, free: 6.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01359/0.3539, allocations: 9.621 MB / 474.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02687/0.3807, allocations: 13.58 MB / 488.1 MB, free: 14.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009428/0.3902, allocations: 5.374 MB / 493.5 MB, free: 9.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01205/0.4022, allocations: 5.989 MB / 499.5 MB, free: 3.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004194/0.4064, allocations: 1.359 MB / 0.4891 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005959/0.4124, allocations: 1.671 MB / 0.4907 GB, free: 356 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005064/0.4174, allocations: 2.798 MB / 0.4935 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01035/0.4278, allocations: 5.358 MB / 0.4987 GB, free: 8.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02521/0.453, allocations: 18.41 MB / 0.5167 GB, free: 5.699 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.453, allocations: 0 / 0.5167 GB, free: 5.699 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.453, allocations: 4 kB / 0.5167 GB, free: 5.695 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005523/0.4535, allocations: 0 / 0.5167 GB, free: 5.695 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.03949/0.493, allocations: 12.26 MB / 0.5286 GB, free: 9.359 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.4931, allocations: 12.03 kB / 0.5287 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03571/0.5288, allocations: 6.199 MB / 0.5347 GB, free: 3.137 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4842/1.013, allocations: 5.913 MB / 0.5405 GB, free: 86.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009487/1.014, allocations: 0.6725 MB / 0.5411 GB, free: 85.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003982/1.018, allocations: 0.8792 MB / 0.542 GB, free: 85.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04042/1.058, allocations: 14.74 MB / 0.5564 GB, free: 80.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004417/1.059, allocations: 9.859 kB / 0.5564 GB, free: 80.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003666/1.062, allocations: 369.4 kB / 0.5568 GB, free: 79.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005105/1.063, allocations: 0.4914 MB / 0.5572 GB, free: 79.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03092/1.094, allocations: 13.57 MB / 0.5705 GB, free: 67.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08/1.174, allocations: 43.27 MB / 0.6127 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/1.184, allocations: 6.015 MB / 0.6186 GB, free: 18.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004352/1.189, allocations: 2.867 MB / 0.6214 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005854/1.189, allocations: 132.5 kB / 0.6215 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.183e-05/1.189, allocations: 82.55 kB / 0.6216 GB, free: 15.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 8.556e-06/1.189, allocations: 0 / 0.6216 GB, free: 15.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.02198/1.211, allocations: 9.432 MB / 0.6308 GB, free: 6.105 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/1.211, allocations: 125.1 kB / 0.631 GB, free: 5.965 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006169/1.217, allocations: 3.155 MB / 0.634 GB, free: 2.836 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008805/1.218, allocations: 93.7 kB / 0.6341 GB, free: 2.738 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002834/1.221, allocations: 3.831 MB / 0.6379 GB, free: 15.37 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00237/1.224, allocations: 1.461 MB / 0.6393 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003966/1.227, allocations: 1.144 MB / 0.6404 GB, free: 12.77 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/1.228, allocations: 305.1 kB / 0.6407 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005621/1.233, allocations: 2.845 MB / 0.6435 GB, free: 9.617 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007719/1.241, allocations: 4.9 MB / 0.6483 GB, free: 3.773 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01398/1.255, allocations: 8.276 MB / 0.6563 GB, free: 10.56 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001027/1.255, allocations: 20 kB / 0.6564 GB, free: 10.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.021/1.276, allocations: 9.114 MB / 0.6653 GB, free: 1.414 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/1.276, allocations: 36.62 kB / 0.6653 GB, free: 1.379 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001496/1.276, allocations: 64 kB / 0.6654 GB, free: 1.316 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003625/1.28, allocations: 1.158 MB / 0.6665 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005481/1.285, allocations: 1.302 MB / 0.6678 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01734/1.303, allocations: 10.61 MB / 0.6781 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005288/1.308, allocations: 0.7453 MB / 0.6789 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00139/1.309, allocations: 284 kB / 0.6791 GB, free: 2.988 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.009027/1.318, allocations: 3.425 MB / 0.6825 GB, free: 15.55 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002234/1.321, allocations: 365.6 kB / 0.6828 GB, free: 15.19 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01915/1.34, allocations: 6.878 MB / 0.6895 GB, free: 8.285 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01353/1.353, allocations: 5.729 MB / 0.6951 GB, free: 2.543 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.119e-05/1.353, allocations: 8 kB / 0.6951 GB, free: 2.535 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.521e-05/1.354, allocations: 23.92 kB / 0.6952 GB, free: 2.512 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03826/1.392, allocations: 15.29 MB / 0.7101 GB, free: 3.008 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.515e-05/1.392, allocations: 15.98 kB / 0.7101 GB, free: 2.992 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003733/1.396, allocations: 0.8003 MB / 0.7109 GB, free: 2.191 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003595/1.399, allocations: 1.052 MB / 0.7119 GB, free: 1.133 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009292/1.4, allocations: 112 kB / 0.712 GB, free: 1.023 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01701/1.417, allocations: 10.39 MB / 0.7222 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-05/1.417, allocations: 15.94 kB / 0.7222 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0238/1.441, allocations: 10.7 MB / 0.7326 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004142/1.445, allocations: 0.961 MB / 0.7336 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001417/1.447, allocations: 100 kB / 0.7337 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003215/1.45, allocations: 267.7 kB / 0.7339 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001109/1.451, allocations: 367 kB / 0.7343 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000657/1.452, allocations: 148 kB / 0.7344 GB, free: 9.621 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004967/1.456, allocations: 2.125 MB / 0.7365 GB, free: 7.492 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.456, allocations: 0 / 0.7365 GB, free: 7.492 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009832/1.466, allocations: 2.251 MB / 0.7387 GB, free: 5.234 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.001392/1.468, allocations: 301.8 kB / 0.739 GB, free: 4.934 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.3027/1.77, allocations: 7.163 MB / 0.746 GB, free: 182.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.173e-05/1.77, allocations: 2.938 kB / 0.746 GB, free: 182.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00716/1.778, allocations: 3.421 MB / 0.7493 GB, free: 182.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004445/1.782, allocations: 0.8073 MB / 0.7501 GB, free: 182.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02603/1.808, allocations: 15.99 MB / 0.7657 GB, free: 175.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00516/1.813, allocations: 5.751 MB / 0.7713 GB, free: 173.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001739/1.815, allocations: 403.8 kB / 0.7717 GB, free: 173.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.613e-06/1.815, allocations: 6.438 kB / 0.7717 GB, free: 173.3 MB / 0.545 GB Notification: Performance of Templates: time 0.5184/2.333, allocations: 197.2 MB / 0.9643 GB, free: 191.7 MB / 0.5607 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/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: 17.011741037014872]